aux_/set0.hpp
Go to the documentation of this file.
1 
2 #ifndef BOOST_MPL_SET_AUX_SET0_HPP_INCLUDED
3 #define BOOST_MPL_SET_AUX_SET0_HPP_INCLUDED
4 
5 // Copyright Aleksey Gurtovoy 2003-2004
6 // Copyright David Abrahams 2003-2004
7 //
8 // Distributed under the Boost Software License, Version 1.0.
9 // (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
11 //
12 // See http://www.boost.org/libs/mpl for documentation.
13 
14 // $Id: set0.hpp 13472 2017-08-22 07:53:44Z richean $
15 // $Date: 2017-08-22 09:53:44 +0200 (Di, 22 Aug 2017) $
16 // $Revision: 13472 $
17 
18 #include <boost/mpl/long.hpp>
19 #include <boost/mpl/void.hpp>
20 #include <boost/mpl/aux_/na.hpp>
25 
27 
28 namespace boost { namespace mpl {
29 
30 #if defined(BOOST_MPL_CFG_USE_OPERATORS_OVERLOADING)
31 
32 # define BOOST_MPL_AUX_SET0_OVERLOAD(R, f, X, T) \
33  friend R BOOST_PP_CAT(BOOST_MPL_AUX_OVERLOAD_,f)(X const&, T) \
34 
35 
36 # define BOOST_MPL_AUX_SET_OVERLOAD(R, f, X, T) \
37  BOOST_MPL_AUX_SET0_OVERLOAD(R, f, X, T) \
38 
39 
40 #else
41 
42 # define BOOST_MPL_AUX_SET0_OVERLOAD(R, f, X, T) \
43  static R BOOST_PP_CAT(BOOST_MPL_AUX_OVERLOAD_,f)(X const&, T) \
44 
45 
46 # define BOOST_MPL_AUX_SET_OVERLOAD(R, f, X, T) \
47  BOOST_MPL_AUX_SET0_OVERLOAD(R, f, X, T); \
48  using Base::BOOST_PP_CAT(BOOST_MPL_AUX_OVERLOAD_,f) \
49 
50 
51 #endif
52 
53 template< typename Dummy = na > struct set0
54 {
55  typedef set0<> item_;
56  typedef item_ type;
57  typedef aux::set_tag tag;
59  typedef void_ item_type_;
60  typedef long_<0> size;
61  typedef long_<1> order;
62 
63  BOOST_MPL_AUX_SET0_OVERLOAD( aux::no_tag, ORDER_BY_KEY, set0<>, void const volatile* );
64  BOOST_MPL_AUX_SET0_OVERLOAD( aux::yes_tag, IS_MASKED, set0<>, void const volatile* );
65 };
66 
67 }}
68 
69 #endif // BOOST_MPL_SET_AUX_SET0_HPP_INCLUDED
long_< 0 >
void_
Definition: void.hpp:29
boost::mpl::set0::type
item_ type
Definition: aux_/set0.hpp:56
boost::mpl::set0::order
long_< 1 > order
Definition: aux_/set0.hpp:61
boost::mpl::set0
Definition: aux_/set0.hpp:53
boost::mpl::set0::item_
set0 item_
Definition: aux_/set0.hpp:55
boost::mpl::set0::BOOST_MPL_AUX_SET0_OVERLOAD
BOOST_MPL_AUX_SET0_OVERLOAD(aux::no_tag, ORDER_BY_KEY, set0<>, void const volatile *)
operators.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::mpl::set0::size
long_< 0 > size
Definition: aux_/set0.hpp:60
overload_names.hpp
cat.hpp
na.hpp
long.hpp
yes_no.hpp
boost::mpl::set0::item_type_
void_ item_type_
Definition: aux_/set0.hpp:59
boost::mpl::set0::tag
aux::set_tag tag
Definition: aux_/set0.hpp:57
boost::mpl::aux::yes_tag
char(& yes_tag)[2]
Definition: yes_no.hpp:26
tag.hpp
void.hpp
boost::mpl::set0::last_masked_
void_ last_masked_
Definition: aux_/set0.hpp:58
boost::mpl::aux::no_tag
char(& no_tag)[1]
Definition: yes_no.hpp:25


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:47:35