Skip to content   Subversion checkout URL  You can clone with
Download ZIP A metaprogramming library to make enums a little
bit nicer.  Fetching latest commit…  Cannot retrieve the latest
commit at this time  Failed to load latest commit information.
include Renamed BitFlag to BitField.   libtenum : make enums a
little bit nicer  Build Status Coverage Status Still Maintained?
• Enums now come in three different flavors: static, dynamic and
bit fields!   • Enum values are now scoped out of namespace
scope. Times of enum values conflict are gone.   • Nice and
customizable (de)serialization for enum to string equivalents.
Including dynamic enum values with offset and bit fields
arbitrary composition!   • Fresh and light as a native enum, no
overhead over enum constants. Limited overhead for serialization
support.   • Integer operations as easy and simple as ever.
This library introduces three new variation over the enum
concept. The main difference between them is the way these enums
are (de)serialized and