placeholders.hpp
Go to the documentation of this file.
1 
2 #if !defined(BOOST_PP_IS_ITERATING)
3 
5 
6 #ifndef BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
7 #define BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
8 
9 // Copyright Aleksey Gurtovoy 2001-2004
10 // Copyright Peter Dimov 2001-2003
11 //
12 // Distributed under the Boost Software License, Version 1.0.
13 // (See accompanying file LICENSE_1_0.txt or copy at
14 // http://www.boost.org/LICENSE_1_0.txt)
15 //
16 // See http://www.boost.org/libs/mpl for documentation.
17 
18 // $Id$
19 // $Date$
20 // $Revision$
21 
22 
23 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
24 # include <boost/mpl/arg.hpp>
26 
27 # if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE)
28 # define BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(type) \
29  using ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::type; \
30 
31 # else
32 # define BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(type)
33 # endif
34 
35 #endif
36 
38 
39 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
40  && !defined(BOOST_MPL_PREPROCESSING_MODE)
41 
42 # define BOOST_MPL_PREPROCESSED_HEADER placeholders.hpp
44 
45 #else
46 
51 
52 // watch out for GNU gettext users, who #define _(x)
53 #if !defined(_) || defined(BOOST_MPL_CFG_NO_UNNAMED_PLACEHOLDER_SUPPORT)
55 typedef arg<-1> _;
57 
58 namespace boost { namespace mpl {
59 
61 
62 namespace placeholders {
64 }
65 
66 }}
67 #endif
68 
71 #define BOOST_PP_ITERATION_PARAMS_1 \
72  (3,(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY + 1, <boost/mpl/placeholders.hpp>))
73 #include BOOST_PP_ITERATE()
74 
75 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
76 #endif // BOOST_MPL_PLACEHOLDERS_HPP_INCLUDED
77 
79 
80 #else
81 #define i_ BOOST_PP_FRAME_ITERATION(1)
82 
84 
85 typedef arg<i_> BOOST_PP_CAT(_,i_);
86 
88 
89 namespace boost { namespace mpl {
90 
92 
93 namespace placeholders {
95 }
96 
97 }}
98 
99 #undef i_
100 #endif // BOOST_PP_IS_ITERATING
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
#define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
Definition: adl_barrier.hpp:24
Definition: arg_fwd.hpp:23
#define BOOST_PP_CAT(a, b)
Definition: cat.hpp:22
#define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
Definition: adl_barrier.hpp:25
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN typedef arg< -1 > _
#define BOOST_MPL_AUX_ARG_ADL_BARRIER_DECL(type)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39