1 #if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES)
3 #include <boost/proto/detail/preprocessed/template_arity_helper.hpp>
5 #elif !defined(BOOST_PP_IS_ITERATING)
7 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
8 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/template_arity_helper.hpp")
11 ///////////////////////////////////////////////////////////////////////////////
12 // template_arity_helper.hpp
13 // Overloads of template_arity_helper, used by the template_arity\<\> class template
15 // Copyright 2008 Eric Niebler. Distributed under the Boost
16 // Software License, Version 1.0. (See accompanying file
17 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
19 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
20 #pragma wave option(preserve: 1)
23 #define BOOST_PP_ITERATION_PARAMS_1 \
24 (3, (1, BOOST_PROTO_MAX_ARITY, <boost/proto/detail/template_arity_helper.hpp>))
25 #include BOOST_PP_ITERATE()
27 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
28 #pragma wave option(output: null)
33 #define N BOOST_PP_ITERATION()
36 template<BOOST_PP_ENUM_PARAMS(N, typename P)> class F
37 , BOOST_PP_ENUM_PARAMS(N, typename T)
39 sized_type<BOOST_PP_INC(N)>::type
40 template_arity_helper(F<BOOST_PP_ENUM_PARAMS(N, T)> **, mpl::int_<N> *);
44 #endif // BOOST_PROTO_DONT_USE_PREPROCESSED_FILES