2 #ifndef BOOST_MPL_AUX_TRAITS_LAMBDA_SPEC_HPP_INCLUDED
\r
3 #define BOOST_MPL_AUX_TRAITS_LAMBDA_SPEC_HPP_INCLUDED
\r
5 // Copyright Aleksey Gurtovoy 2000-2008
\r
7 // Distributed under the Boost Software License, Version 1.0.
\r
8 // (See accompanying file LICENSE_1_0.txt or copy at
\r
9 // http://www.boost.org/LICENSE_1_0.txt)
\r
11 // See http://www.boost.org/libs/mpl for documentation.
\r
13 // $Id: traits_lambda_spec.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
\r
14 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
\r
15 // $Revision: 49267 $
\r
17 #include <boost/mpl/sequence_tag_fwd.hpp>
\r
18 #include <boost/mpl/void.hpp>
\r
19 #include <boost/mpl/aux_/preprocessor/params.hpp>
\r
20 #include <boost/mpl/aux_/config/lambda.hpp>
\r
22 #if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT)
\r
24 # define BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC_IMPL(i, trait) /**/
\r
26 #elif !defined(BOOST_MPL_CFG_MSVC_ETI_BUG)
\r
28 # define BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC_IMPL(i, trait) \
\r
29 template<> struct trait<void_> \
\r
31 template< BOOST_MPL_PP_PARAMS(i, typename T) > struct apply \
\r
39 # define BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC_IMPL(i, trait) \
\r
40 template<> struct trait<void_> \
\r
42 template< BOOST_MPL_PP_PARAMS(i, typename T) > struct apply \
\r
46 template<> struct trait<int> \
\r
48 template< BOOST_MPL_PP_PARAMS(i, typename T) > struct apply \
\r
55 #endif // BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT
\r
58 #define BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(i, trait) \
\r
59 BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC_IMPL(i, trait) \
\r
60 template<> struct trait<non_sequence_tag> {}; \
\r
63 #endif // BOOST_MPL_AUX_TRAITS_LAMBDA_SPEC_HPP_INCLUDED
\r