Explorar o código

doc: nth_argument[_t]

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
f89e8560a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/md/core.md

+ 1 - 1
docs/md/core.md

@@ -773,7 +773,7 @@ A utility to quickly find the n-th argument of a function, member function or
 data member (for blind operations on opaque types):
 data member (for blind operations on opaque types):
 
 
 ```cpp
 ```cpp
-using type = entt::nth_argument_t<1u, &clazz::member>;
+using type = entt::nth_argument_t<1u, decltype(&clazz::member)>;
 ```
 ```
 
 
 Disambiguation of overloaded functions is the responsibility of the user, should
 Disambiguation of overloaded functions is the responsibility of the user, should