mn_typetraits.hpp File Reference
Go to the source code of this file.
Namespaces | |
mn | |
Macros | |
#define | MN_INTEGRAL(T) |
#define | MN_RATIONAL(T) |
#define | MN_VOIDTYPE(T) |
Typedefs | |
using | mn::true_type = integral_constant< bool, true > |
using | mn::false_type = integral_constant< bool, false > |
Class Documentation
◆ mn::type_traits
struct mn::type_traits |
◆ mn::type_traits< T & >
struct mn::type_traits< T & > |
◆ mn::type_traits< const T >
struct mn::type_traits< const T > |
◆ mn::type_traits< const T & >
struct mn::type_traits< const T & > |
◆ mn::type_traits< volatile T & >
struct mn::type_traits< volatile T & > |
◆ mn::type_traits< const volatile T & >
struct mn::type_traits< const volatile T & > |
◆ mn::type_traits< T * >
struct mn::type_traits< T * > |
Macro Definition Documentation
◆ MN_INTEGRAL
#define MN_INTEGRAL | ( | T | ) |
Value:
template<> \
struct is_integral<T> : public integral_constant<bool, true> { };
◆ MN_RATIONAL
#define MN_RATIONAL | ( | T | ) |
Value:
template<> \
struct is_rational<T> : public integral_constant<bool, true> { };
◆ MN_VOIDTYPE
#define MN_VOIDTYPE | ( | T | ) |
Value:
template<> \
struct is_void<T> : public integral_constant<bool, true> { };