diff --git a/README.md b/README.md index 6f4b2a5..7495c62 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ nameof::NameofEnum(c) -> "RED" * Instead of macros NAMEOF_TYPE, you can use the function nameof::NameofType<>. ```cpp +nameof::NameofType(Color::RED) -> "Color" nameof::NameofType() -> "Color" nameof::NameofType -> "int" ```