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:
parent
703db3613d
commit
11b9c109b3
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue