mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
v0.1.2
This commit is contained in:
parent
48e70234b5
commit
0ac07739f6
3 changed files with 106 additions and 80 deletions
|
|
@ -32,7 +32,7 @@ enum class Numbers : char { one = 10, two = 20, three = 30 };
|
|||
|
||||
enum Directions { Up = 85, Down = -42, Right = 119, Left = -119 };
|
||||
|
||||
enum number : int { one = 10, two = 20, three = 30 };
|
||||
enum number : long { one = 10, two = 20, three = 30 };
|
||||
|
||||
TEST_CASE("magic_enum::enum_to_string(enum)") {
|
||||
Color cr = Color::RED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue