-
diff --git a/boost/accumulators/framework/depends_on.hpp b/boost/accumulators/framework/depends_on.hpp
index 76087b0..2c2a27b 100644
a
|
b
|
namespace boost { namespace accumulators
|
186 | 186 | template<typename First, typename Last> |
187 | 187 | struct build_acc_list<First, Last, true> |
188 | 188 | { |
189 | | typedef fusion::nil type; |
| 189 | typedef fusion::nil_ type; |
190 | 190 | |
191 | 191 | template<typename Args> |
192 | | static fusion::nil |
| 192 | static fusion::nil_ |
193 | 193 | call(Args const &, First const&, Last const&) |
194 | 194 | { |
195 | | return fusion::nil(); |
| 195 | return fusion::nil_(); |
196 | 196 | } |
197 | 197 | }; |
198 | 198 | |
-
diff --git a/boost/fusion/container/generation/cons_tie.hpp b/boost/fusion/container/generation/cons_tie.hpp
index 4459e0c..e42b420 100644
a
|
b
|
|
11 | 11 | |
12 | 12 | namespace boost { namespace fusion |
13 | 13 | { |
14 | | struct nil; |
| 14 | struct nil_; |
15 | 15 | |
16 | 16 | namespace result_of |
17 | 17 | { |
18 | | template <typename Car, typename Cdr = nil> |
| 18 | template <typename Car, typename Cdr = nil_> |
19 | 19 | struct cons_tie |
20 | 20 | { |
21 | 21 | typedef cons<Car&, Cdr> type; |
-
diff --git a/boost/fusion/container/generation/make_cons.hpp b/boost/fusion/container/generation/make_cons.hpp
index dcb606d..b11394b 100644
a
|
b
|
|
13 | 13 | |
14 | 14 | namespace boost { namespace fusion |
15 | 15 | { |
16 | | struct nil; |
| 16 | struct nil_; |
17 | 17 | |
18 | 18 | namespace result_of |
19 | 19 | { |
20 | | template <typename Car, typename Cdr = nil> |
| 20 | template <typename Car, typename Cdr = nil_> |
21 | 21 | struct make_cons |
22 | 22 | { |
23 | 23 | typedef cons<typename detail::as_fusion_element<Car>::type, Cdr> type; |
-
diff --git a/boost/fusion/container/list/cons.hpp b/boost/fusion/container/list/cons.hpp
index e434d5c..51f10d9 100644
a
|
b
|
namespace boost { namespace fusion
|
34 | 34 | struct forward_traversal_tag; |
35 | 35 | struct fusion_sequence_tag; |
36 | 36 | |
37 | | struct nil : sequence_base<nil> |
| 37 | struct nil_ : sequence_base<nil_> |
38 | 38 | { |
39 | 39 | typedef mpl::int_<0> size; |
40 | 40 | typedef cons_tag fusion_tag; |
… |
… |
namespace boost { namespace fusion
|
44 | 44 | typedef void_ car_type; |
45 | 45 | typedef void_ cdr_type; |
46 | 46 | |
47 | | nil() {} |
| 47 | nil_() {} |
48 | 48 | |
49 | 49 | template <typename Iterator> |
50 | | nil(Iterator const& /*iter*/, mpl::true_ /*this_is_an_iterator*/) |
| 50 | nil_(Iterator const& /*iter*/, mpl::true_ /*this_is_an_iterator*/) |
51 | 51 | {} |
52 | 52 | |
53 | 53 | template <typename Iterator> |
… |
… |
namespace boost { namespace fusion
|
56 | 56 | } |
57 | 57 | }; |
58 | 58 | |
59 | | template <typename Car, typename Cdr /*= nil*/> |
| 59 | template <typename Car, typename Cdr /*= nil_*/> |
60 | 60 | struct cons : sequence_base<cons<Car, Cdr> > |
61 | 61 | { |
62 | 62 | typedef mpl::int_<Cdr::size::value+1> size; |
-
diff --git a/boost/fusion/container/list/cons_fwd.hpp b/boost/fusion/container/list/cons_fwd.hpp
index 80bb044..684f02e 100644
a
|
b
|
|
10 | 10 | |
11 | 11 | namespace boost { namespace fusion |
12 | 12 | { |
13 | | struct nil; |
| 13 | struct nil_; |
14 | 14 | |
15 | | template <typename Car, typename Cdr = nil> |
| 15 | template <typename Car, typename Cdr = nil_> |
16 | 16 | struct cons; |
17 | 17 | }} |
18 | 18 | |
-
diff --git a/boost/fusion/container/list/cons_iterator.hpp b/boost/fusion/container/list/cons_iterator.hpp
index bc4fa09..834651d 100644
a
|
b
|
|
18 | 18 | |
19 | 19 | namespace boost { namespace fusion |
20 | 20 | { |
21 | | struct nil; |
| 21 | struct nil_; |
22 | 22 | struct cons_iterator_tag; |
23 | 23 | struct forward_traversal_tag; |
24 | 24 | |
25 | 25 | template <typename Cons> |
26 | 26 | struct cons_iterator_identity; |
27 | 27 | |
28 | | template <typename Cons = nil> |
| 28 | template <typename Cons = nil_> |
29 | 29 | struct cons_iterator : iterator_base<cons_iterator<Cons> > |
30 | 30 | { |
31 | 31 | typedef cons_iterator_tag fusion_tag; |
… |
… |
namespace boost { namespace fusion
|
49 | 49 | { |
50 | 50 | typedef forward_traversal_tag category; |
51 | 51 | typedef cons_iterator_tag fusion_tag; |
52 | | typedef nil cons_type; |
| 52 | typedef nil_ cons_type; |
53 | 53 | typedef cons_iterator_identity< |
54 | | add_const<nil>::type> |
| 54 | add_const<nil_>::type> |
55 | 55 | identity; |
56 | 56 | nil_iterator() {} |
57 | | explicit nil_iterator(nil const&) {} |
| 57 | explicit nil_iterator(nil_ const&) {} |
58 | 58 | }; |
59 | 59 | |
60 | 60 | template <> |
61 | | struct cons_iterator<nil> : nil_iterator |
| 61 | struct cons_iterator<nil_> : nil_iterator |
62 | 62 | { |
63 | 63 | cons_iterator() {} |
64 | | explicit cons_iterator(nil const&) {} |
| 64 | explicit cons_iterator(nil_ const&) {} |
65 | 65 | }; |
66 | 66 | |
67 | 67 | template <> |
68 | | struct cons_iterator<nil const> : nil_iterator |
| 68 | struct cons_iterator<nil_ const> : nil_iterator |
69 | 69 | { |
70 | 70 | cons_iterator() {} |
71 | | explicit cons_iterator(nil const&) {} |
| 71 | explicit cons_iterator(nil_ const&) {} |
72 | 72 | }; |
73 | 73 | |
74 | 74 | template <> |
75 | 75 | struct cons_iterator<list<> > : nil_iterator |
76 | 76 | { |
77 | 77 | cons_iterator() {} |
78 | | explicit cons_iterator(nil const&) {} |
| 78 | explicit cons_iterator(nil_ const&) {} |
79 | 79 | }; |
80 | 80 | |
81 | 81 | template <> |
82 | 82 | struct cons_iterator<list<> const> : nil_iterator |
83 | 83 | { |
84 | 84 | cons_iterator() {} |
85 | | explicit cons_iterator(nil const&) {} |
| 85 | explicit cons_iterator(nil_ const&) {} |
86 | 86 | }; |
87 | 87 | }} |
88 | 88 | |
-
diff --git a/boost/fusion/container/list/detail/begin_impl.hpp b/boost/fusion/container/list/detail/begin_impl.hpp
index 571e681..27a7342 100644
a
|
b
|
|
13 | 13 | |
14 | 14 | namespace boost { namespace fusion |
15 | 15 | { |
16 | | struct nil; |
| 16 | struct nil_; |
17 | 17 | |
18 | 18 | struct cons_tag; |
19 | 19 | |
-
diff --git a/boost/fusion/container/list/detail/build_cons.hpp b/boost/fusion/container/list/detail/build_cons.hpp
index ef48652..725b286 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
24 | 24 | template <typename First, typename Last> |
25 | 25 | struct build_cons<First, Last, true> |
26 | 26 | { |
27 | | typedef nil type; |
| 27 | typedef nil_ type; |
28 | 28 | |
29 | | static nil |
| 29 | static nil_ |
30 | 30 | call(First const&, Last const&) |
31 | 31 | { |
32 | | return nil(); |
| 32 | return nil_(); |
33 | 33 | } |
34 | 34 | }; |
35 | 35 | |
-
diff --git a/boost/fusion/container/list/detail/empty_impl.hpp b/boost/fusion/container/list/detail/empty_impl.hpp
index 5c92c73..2392dd7 100644
a
|
b
|
namespace boost { namespace fusion
|
13 | 13 | { |
14 | 14 | struct cons_tag; |
15 | 15 | |
16 | | struct nil; |
| 16 | struct nil_; |
17 | 17 | |
18 | 18 | template <typename Car, typename Cdr> |
19 | 19 | struct cons; |
… |
… |
namespace boost { namespace fusion
|
28 | 28 | { |
29 | 29 | template <typename Sequence> |
30 | 30 | struct apply |
31 | | : boost::is_convertible<Sequence, nil> |
| 31 | : boost::is_convertible<Sequence, nil_> |
32 | 32 | {}; |
33 | 33 | }; |
34 | 34 | } |
-
diff --git a/boost/fusion/container/list/detail/end_impl.hpp b/boost/fusion/container/list/detail/end_impl.hpp
index 3792250..a2eafba 100644
a
|
b
|
|
13 | 13 | |
14 | 14 | namespace boost { namespace fusion |
15 | 15 | { |
16 | | struct nil; |
| 16 | struct nil_; |
17 | 17 | |
18 | 18 | struct cons_tag; |
19 | 19 | |
… |
… |
namespace boost { namespace fusion
|
35 | 35 | struct apply |
36 | 36 | { |
37 | 37 | typedef cons_iterator< |
38 | | typename mpl::if_<is_const<Sequence>, nil const, nil>::type> |
| 38 | typename mpl::if_<is_const<Sequence>, nil_ const, nil_>::type> |
39 | 39 | type; |
40 | 40 | |
41 | 41 | static type |
-
diff --git a/boost/fusion/container/list/detail/list_to_cons.hpp b/boost/fusion/container/list/detail/list_to_cons.hpp
index 4a7dbb8..07c11af 100644
a
|
b
|
|
18 | 18 | |
19 | 19 | namespace boost { namespace fusion |
20 | 20 | { |
21 | | struct nil; |
| 21 | struct nil_; |
22 | 22 | struct void_; |
23 | 23 | }} |
24 | 24 | |
… |
… |
namespace boost { namespace fusion { namespace detail
|
61 | 61 | template <> |
62 | 62 | struct list_to_cons<BOOST_PP_ENUM(FUSION_MAX_LIST_SIZE, FUSION_VOID, _)> |
63 | 63 | { |
64 | | typedef nil type; |
| 64 | typedef nil_ type; |
65 | 65 | }; |
66 | 66 | }}} |
67 | 67 | |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list10.hpp b/boost/fusion/container/list/detail/preprocessed/list10.hpp
index e233b46..d02ba87 100644
a
|
b
|
|
8 | 8 | ==============================================================================*/ |
9 | 9 | namespace boost { namespace fusion |
10 | 10 | { |
11 | | struct nil; |
| 11 | struct nil_; |
12 | 12 | struct void_; |
13 | 13 | template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9> |
14 | 14 | struct list |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list20.hpp b/boost/fusion/container/list/detail/preprocessed/list20.hpp
index 405681a..730d1c0 100644
a
|
b
|
|
8 | 8 | ==============================================================================*/ |
9 | 9 | namespace boost { namespace fusion |
10 | 10 | { |
11 | | struct nil; |
| 11 | struct nil_; |
12 | 12 | struct void_; |
13 | 13 | template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 , typename T17 , typename T18 , typename T19> |
14 | 14 | struct list |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list30.hpp b/boost/fusion/container/list/detail/preprocessed/list30.hpp
index 841295e..6e6a143 100644
a
|
b
|
|
8 | 8 | ==============================================================================*/ |
9 | 9 | namespace boost { namespace fusion |
10 | 10 | { |
11 | | struct nil; |
| 11 | struct nil_; |
12 | 12 | struct void_; |
13 | 13 | template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 , typename T17 , typename T18 , typename T19 , typename T20 , typename T21 , typename T22 , typename T23 , typename T24 , typename T25 , typename T26 , typename T27 , typename T28 , typename T29> |
14 | 14 | struct list |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list40.hpp b/boost/fusion/container/list/detail/preprocessed/list40.hpp
index c486f6b..e4f3b38 100644
a
|
b
|
|
8 | 8 | ==============================================================================*/ |
9 | 9 | namespace boost { namespace fusion |
10 | 10 | { |
11 | | struct nil; |
| 11 | struct nil_; |
12 | 12 | struct void_; |
13 | 13 | template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 , typename T17 , typename T18 , typename T19 , typename T20 , typename T21 , typename T22 , typename T23 , typename T24 , typename T25 , typename T26 , typename T27 , typename T28 , typename T29 , typename T30 , typename T31 , typename T32 , typename T33 , typename T34 , typename T35 , typename T36 , typename T37 , typename T38 , typename T39> |
14 | 14 | struct list |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list50.hpp b/boost/fusion/container/list/detail/preprocessed/list50.hpp
index 2126409..fc5231f 100644
a
|
b
|
|
8 | 8 | ==============================================================================*/ |
9 | 9 | namespace boost { namespace fusion |
10 | 10 | { |
11 | | struct nil; |
| 11 | struct nil_; |
12 | 12 | struct void_; |
13 | 13 | template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 , typename T17 , typename T18 , typename T19 , typename T20 , typename T21 , typename T22 , typename T23 , typename T24 , typename T25 , typename T26 , typename T27 , typename T28 , typename T29 , typename T30 , typename T31 , typename T32 , typename T33 , typename T34 , typename T35 , typename T36 , typename T37 , typename T38 , typename T39 , typename T40 , typename T41 , typename T42 , typename T43 , typename T44 , typename T45 , typename T46 , typename T47 , typename T48 , typename T49> |
14 | 14 | struct list |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list_to_cons10.hpp b/boost/fusion/container/list/detail/preprocessed/list_to_cons10.hpp
index a0f01f5..9b9377c 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
81 | 81 | template <> |
82 | 82 | struct list_to_cons<void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> |
83 | 83 | { |
84 | | typedef nil type; |
| 84 | typedef nil_ type; |
85 | 85 | }; |
86 | 86 | }}} |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list_to_cons20.hpp b/boost/fusion/container/list/detail/preprocessed/list_to_cons20.hpp
index b90b7a7..b142e26 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
141 | 141 | template <> |
142 | 142 | struct list_to_cons<void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> |
143 | 143 | { |
144 | | typedef nil type; |
| 144 | typedef nil_ type; |
145 | 145 | }; |
146 | 146 | }}} |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list_to_cons30.hpp b/boost/fusion/container/list/detail/preprocessed/list_to_cons30.hpp
index 8b8a046..814b7a4 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
201 | 201 | template <> |
202 | 202 | struct list_to_cons<void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> |
203 | 203 | { |
204 | | typedef nil type; |
| 204 | typedef nil_ type; |
205 | 205 | }; |
206 | 206 | }}} |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list_to_cons40.hpp b/boost/fusion/container/list/detail/preprocessed/list_to_cons40.hpp
index a435c02..6929148 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
261 | 261 | template <> |
262 | 262 | struct list_to_cons<void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> |
263 | 263 | { |
264 | | typedef nil type; |
| 264 | typedef nil_ type; |
265 | 265 | }; |
266 | 266 | }}} |
-
diff --git a/boost/fusion/container/list/detail/preprocessed/list_to_cons50.hpp b/boost/fusion/container/list/detail/preprocessed/list_to_cons50.hpp
index 7837e9c..1dbef68 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
321 | 321 | template <> |
322 | 322 | struct list_to_cons<void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_ , void_> |
323 | 323 | { |
324 | | typedef nil type; |
| 324 | typedef nil_ type; |
325 | 325 | }; |
326 | 326 | }}} |
-
diff --git a/boost/fusion/container/list/detail/reverse_cons.hpp b/boost/fusion/container/list/detail/reverse_cons.hpp
index 59178e8..5083e0c 100644
a
|
b
|
|
12 | 12 | namespace boost { namespace fusion { namespace detail |
13 | 13 | { |
14 | 14 | //////////////////////////////////////////////////////////////////////////// |
15 | | template<typename Cons, typename State = nil> |
| 15 | template<typename Cons, typename State = nil_> |
16 | 16 | struct reverse_cons; |
17 | 17 | |
18 | 18 | template<typename Car, typename Cdr, typename State> |
… |
… |
namespace boost { namespace fusion { namespace detail
|
29 | 29 | }; |
30 | 30 | |
31 | 31 | template<typename State> |
32 | | struct reverse_cons<nil, State> |
| 32 | struct reverse_cons<nil_, State> |
33 | 33 | { |
34 | 34 | typedef State type; |
35 | 35 | |
36 | | static State const &call(nil const &, State const &state = State()) |
| 36 | static State const &call(nil_ const &, State const &state = State()) |
37 | 37 | { |
38 | 38 | return state; |
39 | 39 | } |
-
diff --git a/boost/fusion/container/list/list.hpp b/boost/fusion/container/list/list.hpp
index 45e2f63..1d90205 100644
a
|
b
|
|
32 | 32 | |
33 | 33 | namespace boost { namespace fusion |
34 | 34 | { |
35 | | struct nil; |
| 35 | struct nil_; |
36 | 36 | struct void_; |
37 | 37 | |
38 | 38 | template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_LIST_SIZE, typename T)> |
-
diff --git a/boost/fusion/iterator/detail/segmented_equal_to.hpp b/boost/fusion/iterator/detail/segmented_equal_to.hpp
index 1e4ad26..14982b8 100644
a
|
b
|
|
13 | 13 | |
14 | 14 | namespace boost { namespace fusion |
15 | 15 | { |
16 | | struct nil; |
| 16 | struct nil_; |
17 | 17 | |
18 | 18 | namespace detail |
19 | 19 | { |
… |
… |
namespace boost { namespace fusion
|
32 | 32 | {}; |
33 | 33 | |
34 | 34 | template <> |
35 | | struct segmented_equal_to<fusion::nil, fusion::nil> |
| 35 | struct segmented_equal_to<fusion::nil_, fusion::nil_> |
36 | 36 | : mpl::true_ |
37 | 37 | {}; |
38 | 38 | } |
-
diff --git a/boost/fusion/iterator/detail/segmented_iterator.hpp b/boost/fusion/iterator/detail/segmented_iterator.hpp
index ccd45fb..a5cfb45 100644
a
|
b
|
|
19 | 19 | |
20 | 20 | namespace boost { namespace fusion |
21 | 21 | { |
22 | | struct nil; |
| 22 | struct nil_; |
23 | 23 | |
24 | 24 | namespace detail |
25 | 25 | { |
-
diff --git a/boost/fusion/iterator/detail/segmented_next_impl.hpp b/boost/fusion/iterator/detail/segmented_next_impl.hpp
index 2a7f6f6..0c5f9f5 100644
a
|
b
|
namespace boost { namespace fusion
|
83 | 83 | //auto segmented_next_impl_recurse3(stack) |
84 | 84 | //{ |
85 | 85 | // if (size(stack) == 1) |
86 | | // return cons(iterator_range(end(car(stack)), end(car(stack))), nil); |
| 86 | // return cons(iterator_range(end(car(stack)), end(car(stack))), nil_); |
87 | 87 | // else |
88 | 88 | // return segmented_next_impl_recurse(stack.cdr); |
89 | 89 | //} |
-
diff --git a/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp b/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp
index 968718e..7f337ce 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
19 | 19 | { |
20 | 20 | //auto segmented_begin( seq ) |
21 | 21 | //{ |
22 | | // return make_segmented_iterator( segmented_begin_impl( seq, nil ) ); |
| 22 | // return make_segmented_iterator( segmented_begin_impl( seq, nil_ ) ); |
23 | 23 | //} |
24 | 24 | |
25 | | template <typename Sequence, typename Nil = fusion::nil> |
| 25 | template <typename Sequence, typename Nil = fusion::nil_> |
26 | 26 | struct segmented_begin |
27 | 27 | { |
28 | 28 | typedef |
-
diff --git a/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp b/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp
index 469862a..f62c97a 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
18 | 18 | // return make_segmented_iterator( segmented_end_impl( seq ) ); |
19 | 19 | //} |
20 | 20 | |
21 | | template <typename Sequence, typename Nil = fusion::nil> |
| 21 | template <typename Sequence, typename Nil = fusion::nil_> |
22 | 22 | struct segmented_end |
23 | 23 | { |
24 | 24 | typedef |
-
diff --git a/boost/fusion/support/segmented_fold_until.hpp b/boost/fusion/support/segmented_fold_until.hpp
index 6ea58ac..724e2a4 100644
a
|
b
|
namespace boost { namespace fusion
|
20 | 20 | { |
21 | 21 | //auto segmented_fold_until(seq, state, fun) |
22 | 22 | //{ |
23 | | // return first(segmented_fold_until_impl(seq, state, nil, fun)); |
| 23 | // return first(segmented_fold_until_impl(seq, state, nil_, fun)); |
24 | 24 | //} |
25 | 25 | |
26 | 26 | namespace result_of |
… |
… |
namespace boost { namespace fusion
|
32 | 32 | detail::segmented_fold_until_impl< |
33 | 33 | Sequence |
34 | 34 | , State |
35 | | , fusion::nil |
| 35 | , fusion::nil_ |
36 | 36 | , Fun |
37 | 37 | > |
38 | 38 | filter; |
… |
… |
namespace boost { namespace fusion
|
55 | 55 | typename result_of::segmented_fold_until<Sequence, State, Fun>::filter |
56 | 56 | filter; |
57 | 57 | |
58 | | return filter::call(seq, state, fusion::nil(), fun); |
| 58 | return filter::call(seq, state, fusion::nil_(), fun); |
59 | 59 | } |
60 | 60 | |
61 | 61 | template <typename Sequence, typename State, typename Fun> |
… |
… |
namespace boost { namespace fusion
|
66 | 66 | typename result_of::segmented_fold_until<Sequence const, State, Fun>::filter |
67 | 67 | filter; |
68 | 68 | |
69 | | return filter::call(seq, state, fusion::nil(), fun); |
| 69 | return filter::call(seq, state, fusion::nil_(), fun); |
70 | 70 | } |
71 | 71 | }} |
72 | 72 | |
-
diff --git a/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp b/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp
index e5f5ed0..f711755 100644
a
|
b
|
namespace boost { namespace fusion { namespace detail
|
53 | 53 | // switch (size(stack_begin)) |
54 | 54 | // { |
55 | 55 | // case 1: |
56 | | // return nil; |
| 56 | // return nil_; |
57 | 57 | // case 2: |
58 | 58 | // // car(cdr(stack_begin)) is a range over values. |
59 | 59 | // assert(end(front(car(stack_begin))) == end(car(cdr(stack_begin)))); |
… |
… |
namespace boost { namespace fusion { namespace detail
|
188 | 188 | template <typename Stack> |
189 | 189 | struct make_segment_sequence_front<Stack, 1> |
190 | 190 | { |
191 | | typedef typename Stack::cdr_type type; // nil |
| 191 | typedef typename Stack::cdr_type type; // nil_ |
192 | 192 | |
193 | 193 | static type call(Stack const &stack) |
194 | 194 | { |
… |
… |
namespace boost { namespace fusion { namespace detail
|
201 | 201 | // switch (size(stack_end)) |
202 | 202 | // { |
203 | 203 | // case 1: |
204 | | // return nil; |
| 204 | // return nil_; |
205 | 205 | // case 2: |
206 | 206 | // // car(cdr(stack_back)) is a range over values. |
207 | 207 | // assert(end(front(car(stack_end))) == end(car(cdr(stack_end)))); |
… |
… |
namespace boost { namespace fusion { namespace detail
|
331 | 331 | template <typename Stack> |
332 | 332 | struct make_segment_sequence_back<Stack, 1> |
333 | 333 | { |
334 | | typedef typename Stack::cdr_type type; // nil |
| 334 | typedef typename Stack::cdr_type type; // nil_ |
335 | 335 | |
336 | 336 | static type call(Stack const& stack) |
337 | 337 | { |
-
diff --git a/boost/msm/back/state_machine.hpp b/boost/msm/back/state_machine.hpp
index 7881685..f853817 100644
a
|
b
|
private:
|
1564 | 1564 | void set_states(Expr const& expr) |
1565 | 1565 | { |
1566 | 1566 | ::boost::fusion::for_each( |
1567 | | ::boost::fusion::as_vector(FoldToList()(expr, boost::fusion::nil())),update_state(this->m_substate_list)); |
| 1567 | ::boost::fusion::as_vector(FoldToList()(expr, boost::fusion::nil_())),update_state(this->m_substate_list)); |
1568 | 1568 | } |
1569 | 1569 | |
1570 | 1570 | // Construct with the default initial states |
-
diff --git a/boost/spirit/home/support/context.hpp b/boost/spirit/home/support/context.hpp
index b728b4f..bbf08b0 100644
a
|
b
|
namespace boost { namespace spirit
|
98 | 98 | typedef Locals locals_type; |
99 | 99 | |
100 | 100 | context(typename Attributes::car_type attribute) |
101 | | : attributes(attribute, fusion::nil()), locals() {} |
| 101 | : attributes(attribute, fusion::nil_()), locals() {} |
102 | 102 | |
103 | 103 | template <typename Args, typename Context> |
104 | 104 | context( |
-
diff --git a/boost/spirit/home/support/detail/make_cons.hpp b/boost/spirit/home/support/detail/make_cons.hpp
index cbbb73b..e031dc6 100644
a
|
b
|
namespace boost { namespace spirit { namespace detail
|
42 | 42 | |
43 | 43 | namespace result_of |
44 | 44 | { |
45 | | template <typename Car, typename Cdr = fusion::nil> |
| 45 | template <typename Car, typename Cdr = fusion::nil_> |
46 | 46 | struct make_cons |
47 | 47 | { |
48 | 48 | typedef typename as_meta_element<Car>::type car_type; |
-
diff --git a/boost/spirit/home/support/make_component.hpp b/boost/spirit/home/support/make_component.hpp
index 04a7437..91a1d4d 100644
a
|
b
|
namespace boost { namespace spirit { namespace detail
|
258 | 258 | typedef typename |
259 | 259 | proto::reverse_fold_tree< |
260 | 260 | proto::_ |
261 | | , proto::make<fusion::nil> |
| 261 | , proto::make<fusion::nil_> |
262 | 262 | , make_binary_helper<Grammar> |
263 | 263 | >::template impl<Expr, State, Data> |
264 | 264 | reverse_fold_tree; |
-
diff --git a/boost/xpressive/detail/static/grammar.hpp b/boost/xpressive/detail/static/grammar.hpp
index 82d1adc..745088f 100644
a
|
b
|
namespace boost { namespace xpressive
|
200 | 200 | bitwise_or<Gram, Gram> |
201 | 201 | , in_sequence< |
202 | 202 | as_alternate_matcher< |
203 | | reverse_fold_tree<_, make<fusion::nil>, in_alternate_list<Gram> > |
| 203 | reverse_fold_tree<_, make<fusion::nil_>, in_alternate_list<Gram> > |
204 | 204 | > |
205 | 205 | > |
206 | 206 | > |
-
diff --git a/boost/xpressive/detail/static/transforms/as_alternate.hpp b/boost/xpressive/detail/static/transforms/as_alternate.hpp
index 521bb86..cfdec31 100644
a
|
b
|
namespace boost { namespace xpressive
|
44 | 44 | }; |
45 | 45 | |
46 | 46 | template<typename Head> |
47 | | struct alternates_list<Head, fusion::nil> |
48 | | : fusion::cons<Head, fusion::nil> |
| 47 | struct alternates_list<Head, fusion::nil_> |
| 48 | : fusion::cons<Head, fusion::nil_> |
49 | 49 | { |
50 | 50 | BOOST_STATIC_CONSTANT(std::size_t, width = Head::width); |
51 | 51 | BOOST_STATIC_CONSTANT(bool, pure = Head::pure); |
52 | 52 | |
53 | | alternates_list(Head const &head, fusion::nil const &tail) |
54 | | : fusion::cons<Head, fusion::nil>(head, tail) |
| 53 | alternates_list(Head const &head, fusion::nil_ const &tail) |
| 54 | : fusion::cons<Head, fusion::nil_>(head, tail) |
55 | 55 | { |
56 | 56 | } |
57 | 57 | }; |
-
diff --git a/libs/function_types/example/interpreter.hpp b/libs/function_types/example/interpreter.hpp
index 72cd78b..fe35eb9 100644
a
|
b
|
namespace example
|
158 | 158 | { |
159 | 159 | // instantiate and store the invoker by name |
160 | 160 | this->map_invokers[name] = boost::bind( |
161 | | & invoker<Function>::template apply<fusion::nil>, f,_1,fusion::nil() ); |
| 161 | & invoker<Function>::template apply<fusion::nil_>, f,_1,fusion::nil_() ); |
162 | 162 | } |
163 | 163 | |
164 | 164 | |
-
diff --git a/libs/fusion/test/sequence/construction.hpp b/libs/fusion/test/sequence/construction.hpp
index 380a9ee..d028869 100644
a
|
b
|
test()
|
53 | 53 | using namespace boost::fusion; |
54 | 54 | using namespace test_detail; |
55 | 55 | |
56 | | nil empty; |
| 56 | nil_ empty; |
57 | 57 | |
58 | 58 | FUSION_SEQUENCE<> empty0; |
59 | 59 | |
-
diff --git a/libs/fusion/test/sequence/tree.hpp b/libs/fusion/test/sequence/tree.hpp
index a345a8f..59dcb81 100644
a
|
b
|
namespace boost { namespace fusion
|
26 | 26 | { |
27 | 27 | struct tree_tag; |
28 | 28 | |
29 | | template <typename Data, typename Left = nil, typename Right = nil> |
| 29 | template <typename Data, typename Left = nil_, typename Right = nil_> |
30 | 30 | struct tree |
31 | 31 | : sequence_base<tree<Data, Left, Right> > |
32 | 32 | { |
-
diff --git a/libs/proto/test/examples.cpp b/libs/proto/test/examples.cpp
index 692f882..b47bf75 100644
a
|
b
|
struct ArgsAsList
|
188 | 188 | proto::_pop_front(_) |
189 | 189 | /*<< `nil` is the initial state used by the `reverse_fold<>` |
190 | 190 | transform. >>*/ |
191 | | , fusion::nil() |
| 191 | , fusion::nil_() |
192 | 192 | /*<< Put the rest of the function arguments in a fusion cons |
193 | 193 | list. >>*/ |
194 | 194 | , fusion::cons<proto::_value, proto::_state>(proto::_value, proto::_state) |
… |
… |
struct ArgsAsList
|
201 | 201 | // This transform matches expressions of the form (_1=1,'a',"b") |
202 | 202 | // (note the use of the comma operator) and transforms it into a |
203 | 203 | // Fusion cons list of their arguments. In this case, the result |
204 | | // would be cons(1, cons('a', cons("b", nil()))). |
| 204 | // would be cons(1, cons('a', cons("b", nil_()))). |
205 | 205 | struct FoldTreeToList |
206 | 206 | : proto::or_< |
207 | 207 | // This grammar describes what counts as the terminals in expressions |
… |
… |
struct FoldTreeToList
|
218 | 218 | /*<< Fold all terminals that are separated by commas into a Fusion cons list. >>*/ |
219 | 219 | , proto::reverse_fold_tree< |
220 | 220 | _ |
221 | | , fusion::nil() |
| 221 | , fusion::nil_() |
222 | 222 | , fusion::cons<FoldTreeToList, proto::_state>(FoldTreeToList, proto::_state) |
223 | 223 | > |
224 | 224 | > |
… |
… |
void test_examples()
|
446 | 446 | BOOST_CHECK_EQUAL(2, CalcArity()( (_2 - _1) / _2 * 100, i, i)); |
447 | 447 | |
448 | 448 | using boost::fusion::cons; |
449 | | using boost::fusion::nil; |
| 449 | using boost::fusion::nil_; |
450 | 450 | cons<int, cons<char, cons<std::string> > > args(ArgsAsList()( _1(1, 'a', std::string("b")), i, i )); |
451 | 451 | BOOST_CHECK_EQUAL(args.car, 1); |
452 | 452 | BOOST_CHECK_EQUAL(args.cdr.car, 'a'); |