update fusion Nil template parameters to Nil_ to make ObjC happy. trac #5010

[SVN r84441]
This commit is contained in:
Michael Caisse
2013-05-23 01:02:52 +00:00
parent 13d00bd6c2
commit 7922147716
2 changed files with 6 additions and 6 deletions

View File

@ -22,19 +22,19 @@ namespace boost { namespace fusion { namespace detail
// return make_segmented_iterator( segmented_begin_impl( seq, nil_ ) ); // return make_segmented_iterator( segmented_begin_impl( seq, nil_ ) );
//} //}
template <typename Sequence, typename Nil = fusion::nil_> template <typename Sequence, typename Nil_ = fusion::nil_>
struct segmented_begin struct segmented_begin
{ {
typedef typedef
segmented_iterator< segmented_iterator<
typename segmented_begin_impl<Sequence, Nil>::type typename segmented_begin_impl<Sequence, Nil_>::type
> >
type; type;
static type call(Sequence& seq) static type call(Sequence& seq)
{ {
return type( return type(
segmented_begin_impl<Sequence, Nil>::call(seq, Nil())); segmented_begin_impl<Sequence, Nil_>::call(seq, Nil_()));
} }
}; };

View File

@ -18,19 +18,19 @@ namespace boost { namespace fusion { namespace detail
// return make_segmented_iterator( segmented_end_impl( seq ) ); // return make_segmented_iterator( segmented_end_impl( seq ) );
//} //}
template <typename Sequence, typename Nil = fusion::nil_> template <typename Sequence, typename Nil_ = fusion::nil_>
struct segmented_end struct segmented_end
{ {
typedef typedef
segmented_iterator< segmented_iterator<
typename segmented_end_impl<Sequence, Nil>::type typename segmented_end_impl<Sequence, Nil_>::type
> >
type; type;
static type call(Sequence & seq) static type call(Sequence & seq)
{ {
return type( return type(
segmented_end_impl<Sequence, Nil>::call(seq, Nil())); segmented_end_impl<Sequence, Nil_>::call(seq, Nil_()));
} }
}; };