From c159a0d3ce86bfda32dba7dc0c9d07b5ec22fc83 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 4 Aug 2003 15:42:46 +0000 Subject: [PATCH] Fixes for mistakes in tagged lambda conversion. Aleksey, I'm not sure if these are really what you intend, but they stop the errors. [SVN r19436] --- include/boost/mpl/aux_/lambda_spec.hpp | 2 ++ include/boost/mpl/if.hpp | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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