annotate DEPENDENCIES/generic/include/boost/phoenix/object/detail/new.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1
Chris@16 2 #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
Chris@16 3 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP
Chris@16 4 #define BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP
Chris@16 5
Chris@16 6 #include <boost/phoenix/object/detail/preprocessed/new.hpp>
Chris@16 7
Chris@16 8 #endif
Chris@16 9 #else
Chris@16 10
Chris@16 11 #if !BOOST_PHOENIX_IS_ITERATING
Chris@16 12
Chris@16 13 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP
Chris@16 14 #define BOOST_PHOENIX_OBJECT_DETAIL_NEW_HPP
Chris@16 15
Chris@16 16 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
Chris@16 17 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/new_" BOOST_PHOENIX_LIMIT_STR ".hpp")
Chris@16 18 #endif
Chris@16 19
Chris@16 20 /*==============================================================================
Chris@16 21 Copyright (c) 2005-2010 Joel de Guzman
Chris@16 22 Copyright (c) 2010 Thomas Heller
Chris@16 23
Chris@16 24 Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 25 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 26 ==============================================================================*/
Chris@16 27
Chris@16 28 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
Chris@16 29 #pragma wave option(preserve: 1)
Chris@16 30 #endif
Chris@16 31
Chris@16 32 #define BOOST_PHOENIX_ITERATION_PARAMS \
Chris@16 33 (3, (1, BOOST_PHOENIX_COMPOSITE_LIMIT, \
Chris@16 34 <boost/phoenix/object/detail/new.hpp>))
Chris@16 35 #include BOOST_PHOENIX_ITERATE()
Chris@16 36
Chris@16 37 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
Chris@16 38 #pragma wave option(output: null)
Chris@16 39 #endif
Chris@16 40
Chris@16 41 #endif
Chris@16 42
Chris@16 43 #else
Chris@16 44
Chris@16 45 template <typename T, BOOST_PHOENIX_typename_A>
Chris@16 46 inline
Chris@16 47 typename expression::new_<detail::target<T>, BOOST_PHOENIX_A>::type const
Chris@16 48 new_(BOOST_PHOENIX_A_const_ref_a)
Chris@16 49 {
Chris@16 50 return
Chris@16 51 expression::
Chris@16 52 new_<detail::target<T>, BOOST_PHOENIX_A>::
Chris@16 53 make(detail::target<T>(), BOOST_PHOENIX_a);
Chris@16 54 }
Chris@16 55
Chris@16 56 #endif
Chris@16 57
Chris@16 58 #endif // BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES