8 #ifndef SRC_MADNESS_WORLD_META_H_
9 #define SRC_MADNESS_WORLD_META_H_
11 #include <type_traits>
20 # if __cplusplus <= 201402L
22 template<
typename... Ts>
26 template<
typename... Ts>
31 template<
class B1,
class... Bn>
33 : std::conditional_t<bool(B1::value), B1, disjunction<Bn...>> { };
40 template<
class B1,
class... Bn>
42 : std::conditional_t<bool(B1::value), conjunction<Bn...>, B1> {};
56 using std::disjunction;
58 using std::conjunction;
68 template <
typename...
P>
73 template <
typename... Ts>
76 template <
typename T0>
81 template <
typename T0,
typename T1,
typename... Ts>
86 template <
template <
typename...>
class MetaFn,
typename CurrentTypelist,
87 typename... RestOfTypes>
90 template <
template <
typename...>
class MetaFn,
typename... UpToT,
typename T,
98 template <
template <
typename...>
class MetaFn,
typename... UpToLast,
101 using type = MetaFn<UpToLast...>;
104 template <
template <
typename...>
class MetaFn,
typename... Args>
112 template <
template <
typename...>
class MetaFn,
typename Callable,
113 typename CurrentTypelist,
typename... RestOfTypes>
116 template <
template <
typename...>
class MetaFn,
typename Callable,
117 typename... UpToT,
typename T,
typename... Rest>
124 template <
template <
typename...>
class MetaFn,
typename Callable,
125 typename... UpToLast,
typename Last>
128 using type = MetaFn<Callable(UpToLast...)>;
131 template <
template <
typename...>
class MetaFn,
typename Callable,
153 template <
class Default,
class Enabler,
template <
class...>
class Op,
160 template <
class Default,
template <
class...>
class Op,
class... Args>
168 template <
template<
class...>
class Op,
class... Args>
171 template <
template<
class...>
class Op,
class... Args>
174 template <
class Default,
template<
class...>
class Op,
class... Args>
177 template<
template<
class...>
class Op,
class... Args >
180 template<
class Default,
template<
class...>
class Op,
class... Args >
183 template <
class Expected,
template<
class...>
class Op,
class... Args>
186 template <
class Expected,
template<
class...>
class Op,
class... Args>
189 template <
class To,
template<
class...>
class Op,
class... Args>
192 template <
class To,
template<
class...>
class Op,
class... Args>
Definition: test_ar.cc:141
auto T(World &world, response_space &f) -> response_space
Definition: global_functions.cc:34
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
std::string type(const PairType &n)
Definition: PNOParameters.h:18
int P
Definition: test_binsorter.cc:9