Przeglądaj źródła

doc: nth_argument[_t]

Michele Caini 2 lat temu
rodzic
commit
f89e8560a3
1 zmienionych plików z 1 dodań i 1 usunięć
  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):
 
 ```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