Piotr Kosek 646632e43a Added indexable properties on enums:
- _to_index which return value 0... size-1
        (even if enums are note sequential)
 - _from_index used for other way around
 - _from_index_nothrow no throw version
 - _from_index_unchecked returns invalid enum
        in case arg>=size

Code and test cases added.
No documentation updates (my English is too poor for that)
2018-08-31 16:42:57 +02:00
..
general.h Added indexable properties on enums: 2018-08-31 16:42:57 +02:00
stream.h Renamed top-level macro ENUM to BETTER_ENUM. 2015-10-04 11:03:08 -05:00