update readme

This commit is contained in:
neargye 2020-06-26 21:37:48 +05:00
parent fff49040ed
commit 735ba9fb1d

View file

@ -66,6 +66,8 @@ Header-only C++17 library provides nameof macros and functions to simply obtain
* Nameof enum
```cpp
enum class Color { RED = 2, BLUE = 4, GREEN = 8 };
auto color = Color::RED;
// Name of enum variable.
NAMEOF_ENUM(color) -> "RED"