DxLibEx
dxle::type_traits Namespace Reference

inline More...

Namespaces

 detail
 

Classes

struct  first_enabled
 multi-conditional if struct for TMP. This class is used in conjunction with std::enable_if. More...
 
struct  first_enabled< std::enable_if< false, T >, Args... >
 
struct  first_enabled< std::enable_if< true, T >, Args... >
 
struct  first_enabled< T, Args... >
 
struct  first_type
 
struct  float_promote
 
struct  has_operator_notequal_to_this
 
struct  has_operator_notequal_to_this_impl
 
struct  has_operator_notequal_to_zero
 
struct  has_operator_notequal_to_zero_impl
 
struct  has_operator_notequal_to_zero_impl< T, enable_if_t< ignore_type< decltype(std::declval< T >() !=0)>::value, nullptr_t >
 
struct  ignore_type
 Trait class whose value is true regardless of what T is. we can use it, when we want to let SFINAE work for a decltype expressions. More...
 
struct  is_castable
 
struct  is_nothrow_convertable
 
struct  is_representable
 
struct  nullptr_t
 

Typedefs

template<typename... T>
using common_type_t = typename common_type< T... >::type
 
template<bool B, typename T = void>
using enable_if_t = typename type_traits::enable_if< B, T >::type
 
template<typename ... Args>
using first_enabled_t = typename first_enabled< Args... >::type
 
template<typename... Types>
using float_promote_t = typename dxle::float_promote< Types... >::type
 
template<typename T , typename... args>
using first_type_t = first_type< T, args... >
 

Detailed Description

inline

Typedef Documentation

§ common_type_t

template<typename... T>
using dxle::type_traits::common_type_t = typedef typename common_type<T...>::type

Definition at line 15 of file common_type.hpp.

§ enable_if_t

template<bool B, typename T = void>
using dxle::type_traits::enable_if_t = typedef typename type_traits::enable_if<B, T>::type

Definition at line 17 of file enable_if.hpp.

§ first_enabled_t

template<typename ... Args>
using dxle::type_traits::first_enabled_t = typedef typename first_enabled<Args...>::type

Definition at line 42 of file first_enabled.hpp.

§ first_type_t

template<typename T , typename... args>
using dxle::type_traits::first_type_t = typedef first_type<T, args...>

Definition at line 47 of file ignore.hpp.

§ float_promote_t

template<typename... Types>
using dxle::type_traits::float_promote_t = typedef typename dxle::float_promote<Types...>::type

Definition at line 68 of file float_promote.hpp.