mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
workaround enum_type_name
This commit is contained in:
parent
d73a985f52
commit
b6743e4a26
2 changed files with 8 additions and 2 deletions
|
|
@ -571,14 +571,12 @@ TEST_CASE("type_traits") {
|
|||
REQUIRE_FALSE(is_scoped_enum_v<number>);
|
||||
}
|
||||
|
||||
/* TODO: https://github.com/Neargye/nameof/issues/22
|
||||
TEST_CASE("enum_type_name") {
|
||||
REQUIRE(enum_type_name<Color&>() == "Color");
|
||||
REQUIRE(enum_type_name<Numbers>() == "Numbers");
|
||||
REQUIRE(enum_type_name<Directions&>() == "Directions");
|
||||
REQUIRE(enum_type_name<number>() == "number");
|
||||
}
|
||||
*/
|
||||
|
||||
#if defined(MAGIC_ENUM_SUPPORTED_ALIASES)
|
||||
TEST_CASE("aliases") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue