HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImathTypeTraits.h File Reference
#include <type_traits>
#include "ImathPlatform.h"
+ Include dependency graph for ImathTypeTraits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMATH_ENABLE_IF(...)   IMATH_INTERNAL_NAMESPACE::enable_if_t<(__VA_ARGS__), int> = 0
 

Typedefs

template<bool B, class T = void>
using enable_if_t = typename std::enable_if< B, T >::type
 Define Imath::enable_if_t to be std for C++14, equivalent for C++11. More...
 

Macro Definition Documentation

#define IMATH_ENABLE_IF (   ...)    IMATH_INTERNAL_NAMESPACE::enable_if_t<(__VA_ARGS__), int> = 0

An enable_if helper to be used in template parameters which results in much shorter symbols.

Definition at line 32 of file ImathTypeTraits.h.

Typedef Documentation

template<bool B, class T = void>
using enable_if_t = typename std::enable_if<B, T>::type

Define Imath::enable_if_t to be std for C++14, equivalent for C++11.

Definition at line 26 of file ImathTypeTraits.h.