Chris@16: Chris@16: #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES) Chris@16: #ifndef BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP Chris@16: #define BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP Chris@16: Chris@16: #include Chris@16: Chris@16: #endif Chris@16: #else Chris@16: Chris@16: #if !BOOST_PHOENIX_IS_ITERATING Chris@16: Chris@16: #ifndef BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP Chris@16: #define BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(preserve: 2, line: 0, output: "preprocessed/new_" BOOST_PHOENIX_LIMIT_STR ".hpp") Chris@16: #endif Chris@16: Chris@16: /*============================================================================== Chris@16: Copyright (c) 2005-2010 Joel de Guzman Chris@16: Copyright (c) 2010 Thomas Heller Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(preserve: 1) Chris@16: #endif Chris@16: Chris@16: #define BOOST_PHOENIX_ITERATION_PARAMS \ Chris@16: (3, (1, BOOST_PHOENIX_COMPOSITE_LIMIT, \ Chris@16: )) Chris@16: #include BOOST_PHOENIX_ITERATE() Chris@16: Chris@16: #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) Chris@16: #pragma wave option(output: null) Chris@16: #endif Chris@16: Chris@16: #endif Chris@16: Chris@16: #else Chris@16: Chris@16: template Chris@16: inline Chris@16: typename expression::new_, BOOST_PHOENIX_A>::type const Chris@16: new_(BOOST_PHOENIX_A_const_ref_a) Chris@16: { Chris@16: return Chris@16: expression:: Chris@16: new_, BOOST_PHOENIX_A>:: Chris@16: make(detail::target(), BOOST_PHOENIX_a); Chris@16: } Chris@16: Chris@16: #endif Chris@16: Chris@16: #endif // BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES