diff --git a/include/boost/mpl/aux_/lambda_spec.hpp b/include/boost/mpl/aux_/lambda_spec.hpp index ebb618c..b65a4fe 100644 --- a/include/boost/mpl/aux_/lambda_spec.hpp +++ b/include/boost/mpl/aux_/lambda_spec.hpp @@ -17,6 +17,7 @@ #ifndef BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED #define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED +#include "boost/mpl/void.hpp" #include "boost/mpl/lambda_fwd.hpp" #include "boost/mpl/int_fwd.hpp" #include "boost/mpl/aux_/preprocessor/params.hpp" @@ -32,6 +33,7 @@ template< \ struct lambda< \ name< BOOST_MPL_PP_PARAMS(i, T) > \ BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(int_<-1>) \ + , void_ \ > \ { \ typedef name< BOOST_MPL_PP_PARAMS(i, T) > type; \ diff --git a/include/boost/mpl/if.hpp b/include/boost/mpl/if.hpp index 15faa35..65906a7 100644 --- a/include/boost/mpl/if.hpp +++ b/include/boost/mpl/if.hpp @@ -17,6 +17,7 @@ // // See http://www.boost.org/libs/mpl for documentation. +#include "boost/mpl/void.hpp" #include "boost/mpl/aux_/value_wknd.hpp" #include "boost/mpl/aux_/static_cast.hpp" #include "boost/mpl/aux_/void_spec.hpp" @@ -115,7 +116,7 @@ struct if_ // on the result of is_reference. template struct bind3; -template