From d27c80ecd780efe9b7f78dff78fc9287f479e32b Mon Sep 17 00:00:00 2001 From: neargye Date: Wed, 10 Apr 2019 17:57:39 +0500 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4651ecc..38c9e6e 100644 --- a/README.md +++ b/README.md @@ -97,16 +97,16 @@ Header-only C++17 library provides nameof macros and functions to obtain simple * If you need name with template suffix, use NAMEOF_FULL. ```cpp - // Name of function. + // Full name of template function. NAMEOF_FULL(foo()) -> "foo" - // Name of member function. + // Full name of template member function. NAMEOF_FULL(somevar.some_method()) -> "some_method" ``` * If you need raw fully-qualified name, use NAMEOF_RAW. ```cpp - NAMEOF_RAW(somevar.somefield) -> "somevar.somefield" + NAMEOF_RAW(::somevar.somefield) -> "::somevar.somefield" NAMEOF_RAW(&some_class::some_method) -> "&some_class::some_method" ```