#include <type_traits>
Go to the source code of this file.
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, Enum >::type | operator| (Enum lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, Enum >::type | operator& (Enum lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, Enum >::type | operator~ (Enum e) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, typenamestd::add_lvalue_reference< Enum >::type >::type | operator|= (Enum &lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, typenamestd::add_lvalue_reference< Enum >::type >::type | operator&= (Enum &lhs, Enum rhs) |
|
template<typename Enum > |
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, bool >::type | is_true (Enum e) |
|
◆ _LIEF_EI
◆ _LIEF_EN
◆ _LIEF_EN_2
#define _LIEF_EN_2 |
( |
| N, |
|
|
| TYPE ) |
◆ ENABLE_BITMASK_OPERATORS
#define ENABLE_BITMASK_OPERATORS |
( |
| X | ) |
|
Value:template<> \
struct EnableBitMaskOperators<X> \
{ \
static const bool bit_mask_enabled = true; \
};
◆ is_true()
◆ operator&()
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, Enum >::type operator& |
( |
Enum | lhs, |
|
|
Enum | rhs ) |
◆ operator&=()
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, typenamestd::add_lvalue_reference< Enum >::type >::type operator&= |
( |
Enum & | lhs, |
|
|
Enum | rhs ) |
◆ operator|()
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, Enum >::type operator| |
( |
Enum | lhs, |
|
|
Enum | rhs ) |
◆ operator|=()
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::bit_mask_enabled, typenamestd::add_lvalue_reference< Enum >::type >::type operator|= |
( |
Enum & | lhs, |
|
|
Enum | rhs ) |
◆ operator~()