From 88b97b08364693636d8fe37f7d8c7ed1727257dd Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 21 Apr 2006 09:44:40 +0000 Subject: [PATCH] Fixed documentation bug in function_traits. [SVN r33753] --- doc/type_traits.qbk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/type_traits.qbk b/doc/type_traits.qbk index 00ddce2..59d96bb 100644 --- a/doc/type_traits.qbk +++ b/doc/type_traits.qbk @@ -1305,9 +1305,9 @@ the same thing as a /pointer to a function/. [[`function_traits::arity`] [An integral constant expression that has the value 4.]] [[`function_traits::result_type`] [The type `void`.]] [[`function_traits::result_type`] [The type `long`.]] -[[`function_traits::arg0_type`] [The type `int`.]] -[[`function_traits::arg3_type`] [The type `void*`.]] -[[`function_traits::arg4_type`] [A compiler error: there is no `arg4_type` since there are only three arguments.]] +[[`function_traits::arg1_type`] [The type `int`.]] +[[`function_traits::arg4_type`] [The type `void*`.]] +[[`function_traits::arg5_type`] [A compiler error: there is no `arg4_type` since there are only three arguments.]] [[`function_traits::arity`] [A compiler error: argument type is a /function pointer/, and not a /function type/.]] ]