comparison DEPENDENCIES/generic/include/boost/mpl/set/aux_/item.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
9 // (See accompanying file LICENSE_1_0.txt or copy at 9 // (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt) 10 // http://www.boost.org/LICENSE_1_0.txt)
11 // 11 //
12 // See http://www.boost.org/libs/mpl for documentation. 12 // See http://www.boost.org/libs/mpl for documentation.
13 13
14 // $Id: item.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 // $Id$
15 // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 // $Date$
16 // $Revision: 49267 $ 16 // $Revision$
17 17
18 #include <boost/mpl/long.hpp> 18 #include <boost/mpl/long.hpp>
19 #include <boost/mpl/void.hpp> 19 #include <boost/mpl/void.hpp>
20 #include <boost/mpl/next.hpp> 20 #include <boost/mpl/next.hpp>
21 #include <boost/mpl/prior.hpp> 21 #include <boost/mpl/prior.hpp>
30 : Base 30 : Base
31 { 31 {
32 typedef s_item<T,Base> item_; 32 typedef s_item<T,Base> item_;
33 typedef void_ last_masked_; 33 typedef void_ last_masked_;
34 typedef T item_type_; 34 typedef T item_type_;
35 typedef Base base; 35 typedef typename Base::item_ base;
36 36
37 typedef typename next< typename Base::size >::type size; 37 typedef typename next< typename Base::size >::type size;
38 typedef typename next< typename Base::order >::type order; 38 typedef typename next< typename Base::order >::type order;
39 39
40 #if defined(BOOST_MPL_CFG_NO_DEPENDENT_ARRAY_TYPES) 40 #if defined(BOOST_MPL_CFG_NO_DEPENDENT_ARRAY_TYPES)
53 : Base 53 : Base
54 { 54 {
55 typedef s_mask<T,Base> item_; 55 typedef s_mask<T,Base> item_;
56 typedef T last_masked_; 56 typedef T last_masked_;
57 typedef void_ item_type_; 57 typedef void_ item_type_;
58 typedef Base base; 58 typedef typename Base::item_ base;
59 typedef typename prior< typename Base::size >::type size; 59 typedef typename prior< typename Base::size >::type size;
60 60
61 BOOST_MPL_AUX_SET_OVERLOAD( aux::yes_tag, IS_MASKED, s_mask, aux::type_wrapper<T>* ); 61 BOOST_MPL_AUX_SET_OVERLOAD( aux::yes_tag, IS_MASKED, s_mask, aux::type_wrapper<T>* );
62 }; 62 };
63 63
67 : Base 67 : Base
68 { 68 {
69 typedef s_unmask<T,Base> item_; 69 typedef s_unmask<T,Base> item_;
70 typedef void_ last_masked_; 70 typedef void_ last_masked_;
71 typedef T item_type_; 71 typedef T item_type_;
72 typedef Base base; 72 typedef typename Base::item_ base;
73 typedef typename next< typename Base::size >::type size; 73 typedef typename next< typename Base::size >::type size;
74 74
75 BOOST_MPL_AUX_SET_OVERLOAD( aux::no_tag, IS_MASKED, s_unmask, aux::type_wrapper<T>* ); 75 BOOST_MPL_AUX_SET_OVERLOAD( aux::no_tag, IS_MASKED, s_unmask, aux::type_wrapper<T>* );
76 }; 76 };
77 77