annotate DEPENDENCIES/generic/include/boost/mpl/placeholders.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1
Chris@16 2 #if !defined(BOOST_PP_IS_ITERATING)
Chris@16 3
Chris@16 4 ///// header body
Chris@16 5
Chris@16 6 #ifndef BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
Chris@16 7 #define BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
Chris@16 8
Chris@16 9 // Copyright Aleksey Gurtovoy 2001-2004
Chris@16 10 // Copyright Peter Dimov 2001-2003
Chris@16 11 //
Chris@16 12 // Distributed under the Boost Software License, Version 1.0.
Chris@16 13 // (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 14 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 15 //
Chris@16 16 // See http://www.boost.org/libs/mpl for documentation.
Chris@16 17
Chris@101 18 // $Id$
Chris@101 19 // $Date$
Chris@101 20 // $Revision$
Chris@16 21
Chris@16 22
Chris@16 23 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
Chris@16 24 # include <boost/mpl/arg.hpp>
Chris@16 25 # include <boost/mpl/aux_/adl_barrier.hpp>
Chris@16 26
Chris@16 27 # if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE)
Chris@16 28 # define BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(type) \
Chris@16 29 using ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::type; \
Chris@16 30 /**/
Chris@16 31 # else
Chris@16 32 # define BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(type) /**/
Chris@16 33 # endif
Chris@16 34
Chris@16 35 #endif
Chris@16 36
Chris@16 37 #include <boost/mpl/aux_/config/use_preprocessed.hpp>
Chris@16 38
Chris@16 39 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
Chris@16 40 && !defined(BOOST_MPL_PREPROCESSING_MODE)
Chris@16 41
Chris@16 42 # define BOOST_MPL_PREPROCESSED_HEADER placeholders.hpp
Chris@16 43 # include <boost/mpl/aux_/include_preprocessed.hpp>
Chris@16 44
Chris@16 45 #else
Chris@16 46
Chris@16 47 # include <boost/mpl/aux_/nttp_decl.hpp>
Chris@16 48 # include <boost/mpl/limits/arity.hpp>
Chris@16 49 # include <boost/preprocessor/iterate.hpp>
Chris@16 50 # include <boost/preprocessor/cat.hpp>
Chris@16 51
Chris@16 52 // watch out for GNU gettext users, who #define _(x)
Chris@16 53 #if !defined(_) || defined(BOOST_MPL_CFG_NO_UNNAMED_PLACEHOLDER_SUPPORT)
Chris@16 54 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
Chris@16 55 typedef arg<-1> _;
Chris@16 56 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
Chris@16 57
Chris@16 58 namespace boost { namespace mpl {
Chris@16 59
Chris@16 60 BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(_)
Chris@16 61
Chris@16 62 namespace placeholders {
Chris@16 63 using BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::_;
Chris@16 64 }
Chris@16 65
Chris@16 66 }}
Chris@16 67 #endif
Chris@16 68
Chris@16 69 /// agurt, 17/mar/02: one more placeholder for the last 'apply#'
Chris@16 70 /// specialization
Chris@16 71 #define BOOST_PP_ITERATION_PARAMS_1 \
Chris@16 72 (3,(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY + 1, <boost/mpl/placeholders.hpp>))
Chris@16 73 #include BOOST_PP_ITERATE()
Chris@16 74
Chris@16 75 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
Chris@16 76 #endif // BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
Chris@16 77
Chris@16 78 ///// iteration
Chris@16 79
Chris@16 80 #else
Chris@16 81 #define i_ BOOST_PP_FRAME_ITERATION(1)
Chris@16 82
Chris@16 83 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
Chris@16 84
Chris@16 85 typedef arg<i_> BOOST_PP_CAT(_,i_);
Chris@16 86
Chris@16 87 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
Chris@16 88
Chris@16 89 namespace boost { namespace mpl {
Chris@16 90
Chris@16 91 BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(BOOST_PP_CAT(_,i_))
Chris@16 92
Chris@16 93 namespace placeholders {
Chris@16 94 using BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::BOOST_PP_CAT(_,i_);
Chris@16 95 }
Chris@16 96
Chris@16 97 }}
Chris@16 98
Chris@16 99 #undef i_
Chris@16 100 #endif // BOOST_PP_IS_ITERATING