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