forked from boostorg/fusion
Workaround for ObjC (mis)use of nil (from Mathias Gaunard)
[SVN r81628]
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct nil;
|
||||
struct nil_;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
@ -32,7 +32,7 @@ namespace boost { namespace fusion
|
||||
{};
|
||||
|
||||
template <>
|
||||
struct segmented_equal_to<fusion::nil, fusion::nil>
|
||||
struct segmented_equal_to<fusion::nil_, fusion::nil_>
|
||||
: mpl::true_
|
||||
{};
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct nil;
|
||||
struct nil_;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
|
@ -83,7 +83,7 @@ namespace boost { namespace fusion
|
||||
//auto segmented_next_impl_recurse3(stack)
|
||||
//{
|
||||
// if (size(stack) == 1)
|
||||
// return cons(iterator_range(end(car(stack)), end(car(stack))), nil);
|
||||
// return cons(iterator_range(end(car(stack)), end(car(stack))), nil_);
|
||||
// else
|
||||
// return segmented_next_impl_recurse(stack.cdr);
|
||||
//}
|
||||
|
Reference in New Issue
Block a user