HDK
|
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | UT_EnableBitMask< T > |
Macros | |
#define | UT_STATIC_CHECK_ENUM(name) static_assert(std::is_enum<name>::value, "Enum type must be used."); |
#define | UT_ENABLE_ENUM_BIT_FLAGS(name) |
Functions | |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T >::type | operator| (T lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T & >::type | operator|= (T &lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T >::type | operator& (T lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T & >::type | operator&= (T &lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T >::type | operator^ (T lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T & >::type | operator^= (T &lhs, T rhs) |
template<typename T > | |
std::enable_if < UT_EnableBitMask< T > ::enable, T >::type | operator~ (T lhs) |
#define UT_ENABLE_ENUM_BIT_FLAGS | ( | name | ) |
Definition at line 94 of file UT_EnumHelper.h.
#define UT_STATIC_CHECK_ENUM | ( | name | ) | static_assert(std::is_enum<name>::value, "Enum type must be used."); |
Definition at line 17 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T>::type operator& | ( | T | lhs, |
T | rhs | ||
) |
Definition at line 46 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T&>::type operator&= | ( | T & | lhs, |
T | rhs | ||
) |
Definition at line 57 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T>::type operator^ | ( | T | lhs, |
T | rhs | ||
) |
Definition at line 67 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T&>::type operator^= | ( | T & | lhs, |
T | rhs | ||
) |
Definition at line 76 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T>::type operator| | ( | T | lhs, |
T | rhs | ||
) |
Definition at line 28 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T&>::type operator|= | ( | T & | lhs, |
T | rhs | ||
) |
Definition at line 37 of file UT_EnumHelper.h.
std::enable_if<UT_EnableBitMask<T>::enable, T>::type operator~ | ( | T | lhs | ) |
Definition at line 86 of file UT_EnumHelper.h.