1 #if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES)
3 #include <boost/proto/context/detail/preprocessed/null_eval.hpp>
5 #elif !defined(BOOST_PP_IS_ITERATING)
7 #define BOOST_PROTO_EVAL_N(Z, N, DATA) \
8 proto::eval(proto::child_c<N>(expr), ctx); \
11 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
12 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/null_eval.hpp")
15 ///////////////////////////////////////////////////////////////////////////////
16 /// \file null_eval.hpp
17 /// Contains specializations of the null_eval\<\> class template.
19 // Copyright 2008 Eric Niebler. Distributed under the Boost
20 // Software License, Version 1.0. (See accompanying file
21 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
23 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
24 #pragma wave option(preserve: 1)
27 #define BOOST_PP_ITERATION_PARAMS_1 \
28 (3, (1, BOOST_PROTO_MAX_ARITY, <boost/proto/context/detail/null_eval.hpp>))
29 #include BOOST_PP_ITERATE()
31 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES)
32 #pragma wave option(output: null)
35 #undef BOOST_PROTO_EVAL_N
39 #define N BOOST_PP_ITERATION()
41 template<typename Expr, typename Context>
42 struct null_eval<Expr, Context, N>
44 typedef void result_type;
46 void operator ()(Expr &expr, Context &ctx) const
48 BOOST_PP_REPEAT(N, BOOST_PROTO_EVAL_N, ~)