-
Notifications
You must be signed in to change notification settings - Fork 27
Wise enum extension #22
Copy link
Copy link
Open
Description
For our internal use, we extended wise-enum, adding:
- from_number function (creation of enum similiar to from_string)
- ostream operator
WISE_ENUM(Foo, (Bar, 1)) Foo::Bar -> "Bar(1)" - abort call in case of calling from_number/from_string with invalid argument
Do you want any of those features pulled into your project? We can hide them behind defines.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels