Ticket #5010: fusion_nil_typename.patch
File fusion_nil_typename.patch, 2.0 KB (added by , 9 years ago) |
---|
-
boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp
22 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 29 29 segmented_iterator< 30 typename segmented_begin_impl<Sequence, Nil >::type30 typename segmented_begin_impl<Sequence, Nil_>::type 31 31 > 32 32 type; 33 33 34 34 static type call(Sequence& seq) 35 35 { 36 36 return type( 37 segmented_begin_impl<Sequence, Nil >::call(seq, Nil()));37 segmented_begin_impl<Sequence, Nil_>::call(seq, Nil_())); 38 38 } 39 39 }; 40 40 -
boost/fusion/sequence/intrinsic/detail/segmented_end.hpp
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 25 25 segmented_iterator< 26 typename segmented_end_impl<Sequence, Nil >::type26 typename segmented_end_impl<Sequence, Nil_>::type 27 27 > 28 28 type; 29 29 30 30 static type call(Sequence & seq) 31 31 { 32 32 return type( 33 segmented_end_impl<Sequence, Nil >::call(seq, Nil()));33 segmented_end_impl<Sequence, Nil_>::call(seq, Nil_())); 34 34 } 35 35 }; 36 36