open62541pp 0.15.0
C++ wrapper of open62541
|
#include <bitmask.hpp>
Trait to define an enum (class) as a bitmask and allow bitwise operations.
Definition at line 44 of file bitmask.hpp.
Related Symbols | |
(Note that these are not member symbols.) | |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator& (T lhs, T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator| (T lhs, T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator^ (T lhs, T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator~ (T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator|= (T &lhs, T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator&= (T &lhs, T rhs) noexcept |
template<typename T > | |
constexpr std::enable_if_t< IsBitmaskEnum< T >::value, T > | operator^= (T &lhs, T rhs) noexcept |