better adapt structs/classes implementation

[SVN r59913]
This commit is contained in:
Christopher Schmidt
2010-02-25 20:10:37 +00:00
parent f84bc30bd3
commit e67765747d
39 changed files with 266 additions and 701 deletions

View File

@ -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>

View File

@ -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>