1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/lambda_spec.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,49 @@
1.4 +
1.5 +#ifndef BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED
1.6 +#define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED
1.7 +
1.8 +// Copyright Aleksey Gurtovoy 2001-2007
1.9 +//
1.10 +// Distributed under the Boost Software License, Version 1.0.
1.11 +// (See accompanying file LICENSE_1_0.txt or copy at
1.12 +// http://www.boost.org/LICENSE_1_0.txt)
1.13 +//
1.14 +// See http://www.boost.org/libs/mpl for documentation.
1.15 +
1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/lambda_spec.hpp,v $
1.17 +// $Date: 2007/01/29 07:28:45 $
1.18 +// $Revision: 1.8.14.1 $
1.19 +
1.20 +#include <boost/mpl/void.hpp>
1.21 +#include <boost/mpl/lambda_fwd.hpp>
1.22 +#include <boost/mpl/int_fwd.hpp>
1.23 +#include <boost/mpl/aux_/preprocessor/params.hpp>
1.24 +#include <boost/mpl/aux_/lambda_arity_param.hpp>
1.25 +#include <boost/mpl/aux_/config/lambda.hpp>
1.26 +
1.27 +#if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT)
1.28 +
1.29 +# define BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(i, name) \
1.30 +template< \
1.31 + BOOST_MPL_PP_PARAMS(i, typename T) \
1.32 + , typename Tag \
1.33 + > \
1.34 +struct lambda< \
1.35 + name< BOOST_MPL_PP_PARAMS(i, T) > \
1.36 + , Tag \
1.37 + BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(int_<i>) \
1.38 + > \
1.39 +{ \
1.40 + typedef false_ is_le; \
1.41 + typedef name< BOOST_MPL_PP_PARAMS(i, T) > result_; \
1.42 + typedef result_ type; \
1.43 +}; \
1.44 +/**/
1.45 +
1.46 +#else
1.47 +
1.48 +# define BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(i, name) /**/
1.49 +
1.50 +#endif
1.51 +
1.52 +#endif // BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED