MADNESS  version 0.9
Classes | Namespaces | Macros | Typedefs | Functions
type_traits_bits.h File Reference
#include <cstddef>
#include <stdint.h>
#include <madness/world/enable_if.h>
#include <madness/world/integral_constant.h>
#include <madness/world/function_traits_bits.h>
Include dependency graph for type_traits_bits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::tr1::is_void< T >
 true if T is void More...
 
struct  madness::tr1::is_void< void >
 true if T is void More...
 
class  madness::tr1::is_integral< T >
 is_integral<T>::value will be true if T is a fundamental integer type More...
 
struct  madness::tr1::is_floating_point< T >
 is_floating_point<T>::value will be true if T is a fundamental floating-point type More...
 
struct  madness::tr1::is_array< T >
 is_array<T>::value will be true if T is an array type More...
 
struct  madness::tr1::is_array< T[n]>
 is_array<T>::value will be true if T is an array type More...
 
struct  madness::tr1::is_pointer< T >
 is_pointer<T>::value will be true if T is a pointer type More...
 
struct  madness::tr1::is_pointer< T * >
 is_pointer<T>::value will be true if T is a pointer type More...
 
struct  madness::tr1::is_reference< T >
 is_reference<T>::value will be true if T is a reference type More...
 
struct  madness::tr1::is_reference< T & >
 is_reference<T>::value will be true if T is a reference type More...
 
struct  madness::tr1::is_function< T >
 is_function<T>::value is true if T is a function pointer More...
 
struct  madness::tr1::is_member_function_pointer< T >
 is_member_function_pointer<T>::value is true if T is a member function pointer More...
 
struct  madness::tr1::is_arithmetic< T >
 
struct  madness::tr1::is_fundamental< T >
 is_fundamental<T>::value will be true if T is a fundamental type More...
 
struct  madness::tr1::is_object< T >
 
struct  madness::tr1::is_compound< T >
 
struct  madness::tr1::is_const< T >
 is_const<T>::value will be true if T is const More...
 
struct  madness::tr1::is_const< const T >
 is_const<T>::value will be true if T is const More...
 
struct  madness::tr1::is_same< A, B >
 is_same<A,B> returns true if A and B are the same type More...
 
struct  madness::tr1::is_same< A, A >
 is_same<A,B> returns true if A and B are the same type More...
 
struct  madness::tr1::detail::Host< B, D >
 
struct  madness::tr1::is_base_of< B, D >
 
struct  madness::tr1::remove_const< T >
 remove_const<const T>::type will be T More...
 
struct  madness::tr1::remove_const< const T >
 remove_const<const T>::type will be T More...
 
struct  madness::tr1::remove_volatile< T >
 remove_volatile<volatile T>::type will be T More...
 
struct  madness::tr1::remove_volatile< volatile T >
 remove_volatile<volatile T>::type will be T More...
 
struct  madness::tr1::remove_cv< T >
 remove_cv<const T>::type or remove_cv<volatile T>::type will be T More...
 
struct  madness::tr1::add_const< T >
 add_const<T>::type will be const T More...
 
struct  madness::tr1::add_const< const T >
 add_const<T>::type will be const T More...
 
struct  madness::tr1::remove_reference< T >
 remove_reference<&T>::type will be T More...
 
struct  madness::tr1::remove_reference< T & >
 remove_reference<&T>::type will be T More...
 
struct  madness::tr1::remove_pointer< T >
 remove_pointer<T*>::type will be T More...
 
struct  madness::tr1::remove_pointer< T * >
 remove_pointer<T>::type will be T More...
 
struct  madness::tr1::enable_if< B, returnT >
 std::enable_if is similar to boost::enable_if_c for conditionally instantiating templates based on type More...
 
struct  madness::tr1::enable_if< false, returnT >
 std::enable_if is similar to boost::enable_if_c for conditionally instantiating templates based on type More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 
 madness::tr1
 
 madness::tr1::detail
 

Macros

#define SET_TYPE_TRAIT(trait, T)   template<> struct trait < T > : public true_type {}
 

Typedefs

typedef char(& madness::tr1::detail::yes )[1]
 
typedef char(& madness::tr1::detail::no )[2]
 

Functions

 madness::tr1::SET_TYPE_TRAIT (is_integral, unsigned char)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, unsigned long long)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, signed char)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, signed long)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, signed long long)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, bool)
 
 madness::tr1::SET_TYPE_TRAIT (is_integral, char)
 
 madness::tr1::SET_TYPE_TRAIT (is_floating_point, float)
 
 madness::tr1::SET_TYPE_TRAIT (is_floating_point, double)
 
 madness::tr1::SET_TYPE_TRAIT (is_floating_point, long double)
 

Macro Definition Documentation

#define SET_TYPE_TRAIT (   trait,
 
)    template<> struct trait < T > : public true_type {}