enum_name
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
mgutility::detail::is_scoped_enum< E > Struct Template Reference

Trait to check if a type is a scoped enumeration. More...

#include <meta.hpp>

Static Public Attributes

static constexpr auto value
 Boolean value indicating if the type is a scoped enumeration.
 

Detailed Description

template<typename E>
struct mgutility::detail::is_scoped_enum< E >

Trait to check if a type is a scoped enumeration.

Template Parameters
EThe type to check.

Member Data Documentation

◆ value

template<typename E >
constexpr auto mgutility::detail::is_scoped_enum< E >::value
staticconstexpr
Initial value:
=
std::is_enum<E>::value &&
!std::is_convertible<E, typename std::underlying_type<E>::type>::value
static constexpr auto value
Boolean value indicating if the type is a scoped enumeration.
Definition meta.hpp:44

Boolean value indicating if the type is a scoped enumeration.


The documentation for this struct was generated from the following file: