Ticket #8623: function_types.blank.patch
File function_types.blank.patch, 2.5 KB (added by , 9 years ago) |
---|
-
boost/function_types/function_arity.hpp
9 9 #ifndef BOOST_FT_FUNCTION_ARITY_HPP_INCLUDED 10 10 #define BOOST_FT_FUNCTION_ARITY_HPP_INCLUDED 11 11 12 #include <boost/blank.hpp>13 12 #include <boost/mpl/if.hpp> 14 13 15 14 #include <boost/mpl/aux_/lambda_support.hpp> … … 25 24 template<typename T> struct function_arity 26 25 : mpl::if_ 27 26 < function_types::is_callable_builtin<T> 28 , typename components<T>::function_arity, boost::blank 27 , typename components<T>::function_arity 28 , struct not_a_callable_builtin 29 29 >::type 30 30 { 31 31 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,function_arity,(T)) -
boost/function_types/parameter_types.hpp
9 9 #ifndef BOOST_FT_PARAMETER_TYPES_HPP_INCLUDED 10 10 #define BOOST_FT_PARAMETER_TYPES_HPP_INCLUDED 11 11 12 #include <boost/blank.hpp>13 12 #include <boost/mpl/if.hpp> 14 13 15 14 #include <boost/mpl/aux_/lambda_support.hpp> … … 42 41 template<typename T, typename ClassTypeTransform> struct parameter_types 43 42 : mpl::if_ 44 43 < function_types::is_callable_builtin<T> 45 , detail::parameter_types_impl<T,ClassTypeTransform>, boost::blank 44 , detail::parameter_types_impl<T,ClassTypeTransform> 45 , struct not_a_callable_builtin 46 46 >::type 47 47 { 48 48 BOOST_MPL_AUX_LAMBDA_SUPPORT(2,parameter_types,(T,ClassTypeTransform)) -
boost/function_types/result_type.hpp
9 9 #ifndef BOOST_FT_RESULT_TYPE_HPP_INCLUDED 10 10 #define BOOST_FT_RESULT_TYPE_HPP_INCLUDED 11 11 12 #include <boost/blank.hpp>13 12 #include <boost/mpl/if.hpp> 13 #include <boost/mpl/void.hpp> 14 14 15 15 #include <boost/mpl/aux_/lambda_support.hpp> 16 16 #include <boost/type_traits/detail/template_arity_spec.hpp> … … 37 37 template<typename T> struct result_type 38 38 : mpl::if_ 39 39 < function_types::is_callable_builtin<T> 40 , detail::result_type_impl<T>, boost::blank40 , detail::result_type_impl<T>, struct not_a_callable_builtin 41 41 >::type 42 42 { 43 43 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,result_type,(T))