瀏覽代碼

doc: nth_argument[_t]

Michele Caini 2 年之前
父節點
當前提交
f89e8560a3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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