Template Struct is_scoped_enum#
Defined in File Backports.h
Inheritance Relationships#
Base Type#
public std::bool_constant< requires { requires std::is_enum_v< E >;requires !std::is_convertible_v< E, std::underlying_type_t< E > >;}>
Struct Documentation#
- template<typename E> std::is_scoped_enum : public std::bool_constant< requires { requires std::is_enum_v< E >;requires !std::is_convertible_v< E, std::underlying_type_t< E > >;}>
Checks whether E is a scoped enumeration type. Provides the member constant value which is equal to true, if E is a scoped enumeration type. Otherwise, value is equal to false.
- Template Parameters:
E – Type to check.