Ticket #8623: function_types.blank.patch

File function_types.blank.patch, 2.5 KB (added by K-ballo <kaballo86@…>, 9 years ago)

patch

  • boost/function_types/function_arity.hpp

     
    99#ifndef BOOST_FT_FUNCTION_ARITY_HPP_INCLUDED
    1010#define BOOST_FT_FUNCTION_ARITY_HPP_INCLUDED
    1111
    12 #include <boost/blank.hpp>
    1312#include <boost/mpl/if.hpp>
    1413
    1514#include <boost/mpl/aux_/lambda_support.hpp>
     
    2524    template<typename T> struct function_arity
    2625      : mpl::if_
    2726        < 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
    2929        >::type
    3030    {
    3131      BOOST_MPL_AUX_LAMBDA_SUPPORT(1,function_arity,(T))
  • boost/function_types/parameter_types.hpp

     
    99#ifndef BOOST_FT_PARAMETER_TYPES_HPP_INCLUDED
    1010#define BOOST_FT_PARAMETER_TYPES_HPP_INCLUDED
    1111
    12 #include <boost/blank.hpp>
    1312#include <boost/mpl/if.hpp>
    1413
    1514#include <boost/mpl/aux_/lambda_support.hpp>
     
    4241    template<typename T, typename ClassTypeTransform> struct parameter_types
    4342      : mpl::if_
    4443        < 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
    4646        >::type
    4747    {
    4848      BOOST_MPL_AUX_LAMBDA_SUPPORT(2,parameter_types,(T,ClassTypeTransform))
  • boost/function_types/result_type.hpp

     
    99#ifndef BOOST_FT_RESULT_TYPE_HPP_INCLUDED
    1010#define BOOST_FT_RESULT_TYPE_HPP_INCLUDED
    1111
    12 #include <boost/blank.hpp>
    1312#include <boost/mpl/if.hpp>
     13#include <boost/mpl/void.hpp>
    1414
    1515#include <boost/mpl/aux_/lambda_support.hpp>
    1616#include <boost/type_traits/detail/template_arity_spec.hpp>
     
    3737    template<typename T> struct result_type
    3838      : mpl::if_
    3939        < function_types::is_callable_builtin<T>
    40         , detail::result_type_impl<T>, boost::blank
     40        , detail::result_type_impl<T>, struct not_a_callable_builtin
    4141        >::type
    4242    {
    4343      BOOST_MPL_AUX_LAMBDA_SUPPORT(1,result_type,(T))