You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
195 B
8 lines
195 B
4 years ago
|
template< typename Enum > class Flags
|
||
|
{
|
||
|
public:
|
||
|
constexpr Flags() : value{ 0 } {}
|
||
|
constexpr Flags( Enum f ) : value( static_cast< value_t >( f ) ) {}
|
||
|
constexpr Flags( Flags const& ) = default;
|
||
|
}
|