From 372d08277f9abdffffd7db0d1f725c93baf00aee Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 7 Nov 2003 00:23:00 +0000 Subject: [PATCH] Commit unary_traits/binary_traits compatibility patch by Thomas Witt [SVN r20712] --- include/boost/type_traits/function_traits.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/type_traits/function_traits.hpp b/include/boost/type_traits/function_traits.hpp index ebd0e10..202c660 100644 --- a/include/boost/type_traits/function_traits.hpp +++ b/include/boost/type_traits/function_traits.hpp @@ -37,6 +37,7 @@ struct function_traits_helper BOOST_STATIC_CONSTANT(int, arity = 1); typedef R result_type; typedef T1 arg1_type; + typedef T1 argument_type; }; template @@ -46,6 +47,8 @@ struct function_traits_helper typedef R result_type; typedef T1 arg1_type; typedef T2 arg2_type; + typedef T1 first_argument_type; + typedef T2 second_argument_type; }; template