add logic::tribool

This commit is contained in:
bolero-MURAKAMI 2012-10-11 00:15:34 +09:00
parent 33c17736fa
commit 1ef528d204
11 changed files with 478 additions and 18 deletions

View file

@ -265,7 +265,8 @@ namespace testspr {
)
{
return first1_ == last1 && first2_ == last2 ? true
: testspr::count(first1, last1, *first1_) != testspr::count(first2, first2 + testspr::distance(first1, last1), *first1_) ? false
: testspr::count(first1, last1, *first1_) != testspr::count(first2, first2 + testspr::distance(first1, last1), *first1_)
? false
: testspr::detail::is_permutation_impl(first1, last1, first2, last2, first1_ + 1, first2_ + 1)
;
}