file
EnumSet.hClass Corrade::
Namespaces
- namespace Corrade
- Root namespace.
- namespace Corrade::Containers
- Container implementations.
Classes
-
template<class T, typename std::class Corrade::Containers::EnumSet
underlying_type<T>::type fullValue = typename std:: underlying_type<T>::type(~0)> - Set of enum values.
Functions
-
template<class T, class = typename std::auto enumCastUnderlyingType(T value) -> std::
enable_if<std:: is_enum<T>::value>::type> underlying_type<T>::type constexpr new in 2020.06 - Cast an enum to its underlying type.
-
template<class T, typename std::auto enumCastUnderlyingType(EnumSet<T, fullValue> value) -> std::
underlying_type<T>::type fullValue> underlying_type<T>::type constexpr new in 2020.06 - Cast an enum set to its underlying type.
Defines
- #define CORRADE_ENUMSET_OPERATORS(class)
- Define out-of-class operators for given EnumSet or BigEnumSet.
- #define CORRADE_ENUMSET_FRIEND_OPERATORS(class)
- Define out-of-class operators for given EnumSet or BigEnumSet as friends of encapsulating class.
Define documentation
#define CORRADE_ENUMSET_OPERATORS(class)
Define out-of-class operators for given EnumSet or BigEnumSet.
See the EnumSet class documentation for example usage.
#define CORRADE_ENUMSET_FRIEND_OPERATORS(class)
Define out-of-class operators for given EnumSet or BigEnumSet as friends of encapsulating class.
See the EnumSet class documentation for example usage.