Loading...
Searching...
No Matches
traits.h File Reference
+ Include dependency graph for traits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VtIsArray< T >
 Array concept. By default, types are not arrays. More...
 

Macros

#define VT_TYPE_IS_CHEAP_TO_COPY(T)
 
#define VT_TYPE_IS_TYPED_VALUE_PROXY(T)
 
#define VT_TYPE_IS_ERASED_VALUE_PROXY(T)
 

Functions

template<class T , typename std::enable_if< !VtIsTypedValueProxy< T >::value, int >::type = 0>
T const & VtGetProxiedObject (T const &nonProxy)
 

Macro Definition Documentation

◆ VT_TYPE_IS_CHEAP_TO_COPY

#define VT_TYPE_IS_CHEAP_TO_COPY (   T)
Value:
template <> struct VtValueTypeHasCheapCopy<TF_PP_EAT_PARENS(T)> \
: std::true_type {}
#define TF_PP_EAT_PARENS(...)
Return the arguments as is except if the first argument starts with a matched parenthesis then remove...

Definition at line 50 of file traits.h.

◆ VT_TYPE_IS_ERASED_VALUE_PROXY

#define VT_TYPE_IS_ERASED_VALUE_PROXY (   T)
Value:
template <> struct VtIsErasedValueProxy<TF_PP_EAT_PARENS(T)> \
: std::true_type {}

Definition at line 136 of file traits.h.

◆ VT_TYPE_IS_TYPED_VALUE_PROXY

#define VT_TYPE_IS_TYPED_VALUE_PROXY (   T)
Value:
template <> struct VtIsTypedValueProxy<TF_PP_EAT_PARENS(T)> \
: std::true_type {}

Definition at line 109 of file traits.h.

Function Documentation

◆ VtGetProxiedObject()

T const & VtGetProxiedObject ( T const &  nonProxy)

Definition at line 118 of file traits.h.