fix readme

This commit is contained in:
terik23 2019-03-23 00:06:52 +05:00
parent 7589b69beb
commit 13105a2839

View file

@ -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);