diff --git a/README.md b/README.md index 8360672..7dc8a4b 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ # Magic Enum C++ Header-only C++17 library provides static reflection for enums, work with any enum type without any macro or boilerplate code. + * `enum_cast` obtains enum value from string or integer. * `enum_value` returns enum value at specified index. * `enum_values` obtains enum value sequence. @@ -30,10 +31,11 @@ Header-only C++17 library provides static reflection for enums, work with any en * `enum_name` returns string name from enum value. * `enum_names` obtains string enum name sequence. * `enum_entries` obtains pair (value enum, string enum name) sequence. +* `enum_index` obtains index in enum value sequence from enum value. * `is_unscoped_enum` checks whether type is an [Unscoped enumeration](https://en.cppreference.com/w/cpp/language/enum#Unscoped_enumeration). * `is_scoped_enum` checks whether type is an [Scoped enumeration](https://en.cppreference.com/w/cpp/language/enum#Scoped_enumerations). * `is_fixed_enum` checks whether type is an [Fixed enumeration](https://en.cppreference.com/w/cpp/language/enum). -* `underlying_type` port of C++20 improved UB-free "SFINAE-friendly" [std::underlying_type](https://en.cppreference.com/w/cpp/types/underlying_type). +* `underlying_type` improved UB-free "SFINAE-friendly" [std::underlying_type](https://en.cppreference.com/w/cpp/types/underlying_type). * `using namespace magic_enum::ostream_operators;` ostream operators for enums. * `using namespace magic_enum::bitwise_operators;` bitwise operators for enums.