forked from boostorg/type_traits
Fixed documentation bug in function_traits.
[SVN r33753]
This commit is contained in:
@ -1305,9 +1305,9 @@ the same thing as a /pointer to a function/.
|
||||
[[`function_traits<long (int, long, double, void*)>::arity`] [An integral constant expression that has the value 4.]]
|
||||
[[`function_traits<void (void)>::result_type`] [The type `void`.]]
|
||||
[[`function_traits<long (int)>::result_type`] [The type `long`.]]
|
||||
[[`function_traits<long (int)>::arg0_type`] [The type `int`.]]
|
||||
[[`function_traits<long (int, long, double, void*)>::arg3_type`] [The type `void*`.]]
|
||||
[[`function_traits<long (int, long, double, void*)>::arg4_type`] [A compiler error: there is no `arg4_type` since there are only three arguments.]]
|
||||
[[`function_traits<long (int)>::arg1_type`] [The type `int`.]]
|
||||
[[`function_traits<long (int, long, double, void*)>::arg4_type`] [The type `void*`.]]
|
||||
[[`function_traits<long (int, long, double, void*)>::arg5_type`] [A compiler error: there is no `arg4_type` since there are only three arguments.]]
|
||||
[[`function_traits<long (*)(void)>::arity`] [A compiler error: argument type is a /function pointer/, and not a /function type/.]]
|
||||
|
||||
]
|
||||
|
Reference in New Issue
Block a user