mirror of
https://github.com/BlackMATov/enum.hpp.git
synced 2025-12-13 06:59:45 +07:00
add enum_type to traits
This commit is contained in:
@@ -82,6 +82,10 @@ TEST_CASE("enum") {
|
||||
std::underlying_type_t<sn::color>,
|
||||
unsigned>);
|
||||
|
||||
STATIC_CHECK(std::is_same_v<
|
||||
sn::color_traits::enum_type,
|
||||
sn::color>);
|
||||
|
||||
STATIC_CHECK(std::is_same_v<
|
||||
sn::color_traits::underlying_type,
|
||||
enum_hpp::underlying_type<sn::color>>);
|
||||
|
||||
Reference in New Issue
Block a user