Chris@16: #if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES) Chris@16: Chris@16: #include Chris@16: Chris@16: #elif !defined(BOOST_PP_IS_ITERATING) Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(preserve: 2, line: 0, output: "preprocessed/vararg_matches_impl.hpp") Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: /// \file vararg_matches_impl.hpp Chris@16: /// Specializations of the vararg_matches_impl template Chris@16: // Chris@16: // Copyright 2008 Eric Niebler. Distributed under the Boost Chris@16: // Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(preserve: 1) Chris@16: #endif Chris@16: Chris@16: #define BOOST_PP_ITERATION_PARAMS_1 \ Chris@16: (3, (2, BOOST_PROTO_MAX_ARITY, )) Chris@16: #include BOOST_PP_ITERATE() Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(output: null) Chris@16: #endif Chris@16: Chris@16: #else // BOOST_PP_IS_ITERATING Chris@16: Chris@16: #define N BOOST_PP_ITERATION() Chris@16: Chris@16: template Chris@16: struct vararg_matches_impl Chris@16: : and_2< Chris@16: matches_< Chris@16: typename detail::expr_traits::value_type::proto_derived_expr Chris@16: , typename detail::expr_traits::value_type::proto_grammar Chris@16: , Back Chris@16: >::value Chris@16: , vararg_matches_impl Chris@16: > Chris@16: {}; Chris@16: Chris@16: template Chris@16: struct vararg_matches_impl Chris@16: : matches_< Chris@16: typename detail::expr_traits::value_type::proto_derived_expr Chris@16: , typename detail::expr_traits::value_type::proto_grammar Chris@16: , Back Chris@16: > Chris@16: {}; Chris@16: Chris@16: #undef N Chris@16: Chris@16: #endif