1 #ifndef MADNESS_TYPE_TRAITS_BITS_H
2 #define MADNESS_TYPE_TRAITS_BITS_H
31 static const bool value =
false;
38 #define SET_TYPE_TRAIT(trait, T) template<> struct trait < T > : public true_type {}
64 template <
typename T, std::
size_t n>
138 template <
typename T>
142 template <
typename T>
161 template <
typename A,
typename B>
165 template <
typename A>
172 typedef char (&
no)[2];
174 template <
typename B,
typename D>
182 template <
typename B,
typename D>
185 template <
typename T>
196 template <
typename T>
202 template <
typename T>
208 template <
typename T>
214 template <
typename T>
220 template <
typename T>
226 template <
typename T>
232 template <
typename T>
242 template <
typename T>
248 template <
typename T>
266 template <
typename T>
272 template <
typename T>
289 template <
bool B,
class returnT>
295 template <
class returnT>
T type
Definition: type_traits_bits.h:250
T type
Definition: type_traits_bits.h:210
Tensor< double > B
Definition: tdse1d.cc:167
integral_constant< value_type, value > type
Definition: type_traits_bits.h:122
remove_const::type will be T
Definition: type_traits_bits.h:197
static const bool value
Definition: type_traits_bits.h:117
bool value_type
Definition: type_traits_bits.h:103
static const bool value
Definition: type_traits_bits.h:92
T type
Definition: type_traits_bits.h:204
returnT type
Definition: type_traits_bits.h:291
static detail::yes check(D *, T)
remove_volatile::type will be T
Definition: type_traits_bits.h:209
static const bool value
Definition: type_traits_bits.h:86
T type
Definition: type_traits_bits.h:244
T type
Definition: type_traits_bits.h:216
Function traits in the spirt of boost function traits.
Definition: function_traits_bits.h:10
char(& no)[2]
Definition: type_traits_bits.h:172
const T type
Definition: type_traits_bits.h:228
is_pointer::value will be true if T is a pointer type
Definition: type_traits_bits.h:69
is_reference::value will be true if T is a reference type
Definition: type_traits_bits.h:77
static const bool value
Definition: type_traits_bits.h:31
is_fundamental::value will be true if T is a fundamental type
Definition: type_traits_bits.h:110
Definition: type_traits_bits.h:162
static const bool value
Definition: type_traits_bits.h:102
remove_reference<&T>::type will be T
Definition: type_traits_bits.h:243
is_const::value will be true if T is const
Definition: type_traits_bits.h:139
bool value_type
Definition: type_traits_bits.h:121
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
integral_constant< value_type, value > type
Definition: type_traits_bits.h:131
Member function traits in the spirt of boost function traits.
Definition: function_traits_bits.h:142
char(& yes)[1]
Definition: type_traits_bits.h:171
static const bool value
Definition: type_traits_bits.h:112
SET_TYPE_TRAIT(is_integral, unsigned char)
T type
Definition: type_traits_bits.h:268
remove_pointer::type will be T
Definition: type_traits_bits.h:267
remove_volatile< typename remove_const< T >::type >::type type
Definition: type_traits_bits.h:222
bool value_type
Definition: type_traits_bits.h:130
add_const::type will be const T
Definition: type_traits_bits.h:227
T type
Definition: type_traits_bits.h:198
Definition: type_traits_bits.h:128
std::enable_if is similar to boost::enable_if_c for conditionally instantiating templates based on ty...
Definition: type_traits_bits.h:290
static const bool value
Definition: type_traits_bits.h:189
integral_constant< value_type, value > type
Definition: type_traits_bits.h:104
is_floating_point::value will be true if T is a fundamental floating-point type ...
Definition: type_traits_bits.h:36
Definition: type_traits_bits.h:175
bool value_type
Definition: type_traits_bits.h:111
true if T is void
Definition: type_traits_bits.h:21
remove_cv::type or remove_cv::type will be T
Definition: type_traits_bits.h:221
Definition: integral_constant.h:7
static const bool value
Definition: type_traits_bits.h:129
is_function::value is true if T is a function pointer
Definition: type_traits_bits.h:85
Definition: type_traits_bits.h:101
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45
is_member_function_pointer::value is true if T is a member function pointer
Definition: type_traits_bits.h:91
is_array::value will be true if T is an array type
Definition: type_traits_bits.h:61
Definition: type_traits_bits.h:183
T type
Definition: type_traits_bits.h:274
is_integral::value will be true if T is a fundamental integer type
Definition: type_traits_bits.h:29
Definition: type_traits_bits.h:116
const T type
Definition: type_traits_bits.h:234