diff --git a/README.md b/README.md index f9f7dd6..ab28dbd 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ static_assert("somevar" == cx_name); NAMEOF(some_method) -> "some_method" NAMEOF_FULL(some_method) -> "some_method" // Name of member function -NAMEOF(somevar.foo() -> "foo" -NAMEOF_FULL(somevar.boo() -> "boo" +NAMEOF(somevar.foo()) -> "foo" +NAMEOF_FULL(somevar.boo()) -> "boo" constexpr auto cx_name = NAMEOF(somevar.foo()); static_assert("foo" == cx_name);