mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 12:07:36 +02:00
update fusion Nil template parameters to Nil_ to make ObjC happy. trac #5010
[SVN r84441]
This commit is contained in:
@ -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_()));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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_()));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user