1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00

update doc

This commit is contained in:
neargye 2020-05-11 18:48:06 +05:00
parent 703db3613d
commit 11b9c109b3

View file

@ -50,8 +50,8 @@
Banana = 3,
COUNT = 4,
};
// magic_enum::enum_cast<ShapeKind>("Box") -> std::nullopt
// magic_enum::enum_name(ShapeKind::Box) -> "ConvexBegin"
// magic_enum::enum_cast<ShapeKind>("Box") -> std::nullopt or ShapeKind::Box
// magic_enum::enum_name(ShapeKind::Box) -> "ConvexBegin" or ""
```
One of the possible workaround the issue: