Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a macro to create bitsets from enums
Adds a RIVE_MAKE_ENUM_BITFIELD() macro and accompanying EnumBitset<> class that allow us to treat strongly typed C++ enums as bitsets, including with an implicit bool conversion for expressions like "if (flags & Flags::myFlag)". Diffs= 654d4488e Add a macro to create bitsets from enums (#5922)
- Loading branch information