fix readme
This commit is contained in:
parent
7589b69beb
commit
13105a2839
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ static_assert("somevar" == cx_name);
|
|||
NAMEOF(some_method<int, float>) -> "some_method"
|
||||
NAMEOF_FULL(some_method<int, float>) -> "some_method<int, float>"
|
||||
// Name of member function
|
||||
NAMEOF(somevar.foo() -> "foo"
|
||||
NAMEOF_FULL(somevar.boo<int>() -> "boo<int>"
|
||||
NAMEOF(somevar.foo()) -> "foo"
|
||||
NAMEOF_FULL(somevar.boo<int>()) -> "boo<int>"
|
||||
|
||||
constexpr auto cx_name = NAMEOF(somevar.foo());
|
||||
static_assert("foo" == cx_name);
|
||||
|
|
Loading…
Reference in a new issue