forked from boostorg/fusion
better adapt structs/classes implementation
[SVN r59913]
This commit is contained in:
@ -32,9 +32,8 @@ namespace boost { namespace fusion { namespace detail
|
||||
static bool
|
||||
call(I1 const& a, I2 const& b, mpl::false_)
|
||||
{
|
||||
return *a > *b
|
||||
|| !(*b > *a)
|
||||
&& call(fusion::next(a), fusion::next(b));
|
||||
return *a > *b ||
|
||||
(!(*b > *a) && call(fusion::next(a), fusion::next(b)));
|
||||
}
|
||||
|
||||
template <typename I1, typename I2>
|
||||
|
@ -32,9 +32,8 @@ namespace boost { namespace fusion { namespace detail
|
||||
static bool
|
||||
call(I1 const& a, I2 const& b, mpl::false_)
|
||||
{
|
||||
return *a < *b
|
||||
|| !(*b < *a)
|
||||
&& call(fusion::next(a), fusion::next(b));
|
||||
return *a < *b ||
|
||||
(!(*b < *a) && call(fusion::next(a), fusion::next(b)));
|
||||
}
|
||||
|
||||
template <typename I1, typename I2>
|
||||
|
Reference in New Issue
Block a user