Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:41:38

0001 
0002 #ifndef BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED
0004 
0005 // Copyright Aleksey Gurtovoy 2001-2007
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #include <boost/mpl/void.hpp>
0018 #include <boost/mpl/lambda_fwd.hpp>
0019 #include <boost/mpl/int_fwd.hpp>
0020 #include <boost/mpl/aux_/preprocessor/params.hpp>
0021 #include <boost/mpl/aux_/lambda_arity_param.hpp>
0022 #include <boost/mpl/aux_/config/lambda.hpp>
0023 
0024 #if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT)
0025 
0026 #   define BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(i, name) \
0027 template< \
0028       BOOST_MPL_PP_PARAMS(i, typename T) \
0029     , typename Tag \
0030     > \
0031 struct lambda< \
0032       name< BOOST_MPL_PP_PARAMS(i, T) > \
0033     , Tag \
0034     BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(int_<i>) \
0035     > \
0036 { \
0037     typedef false_ is_le; \
0038     typedef name< BOOST_MPL_PP_PARAMS(i, T) > result_; \
0039     typedef result_ type; \
0040 }; \
0041 /**/
0042 
0043 #else
0044 
0045 #   define BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(i, name) /**/
0046 
0047 #endif
0048 
0049 #endif // BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED