1 stable release
1.0.1 | Jan 11, 2021 |
---|
#53 in #bitset
1,306 downloads per month
Used in stayawake
31KB
460 lines
enumset
This is a fork of https://github.com/Lymia/enumset and will not be updated once the fix for the breaking syn
issue is resolved.
A library for defining enums that can be used in compact bit sets. It supports enums up to 128 variants, and has a macro to use these sets in constants.
See the documentation for more information.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in enumset by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~2MB
~47K SLoC