diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 | 
| commit | 51072bd6bf79ef2bc6a922079bff57c31c1effbc (patch) | |
| tree | 91a2effbc9e6f80bdbbf9eb70e06c51ad0867ea0 /test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp | |
| parent | bb5e33f003797b67974a8893f7f2930fc51b8210 (diff) | |
Notes
Diffstat (limited to 'test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp')
| -rw-r--r-- | test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp b/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp index 3e1dfd17c3ff9..054bc656cdb1f 100644 --- a/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp +++ b/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp @@ -33,7 +33,7 @@ int main()      const unsigned sa = sizeof(ia)/sizeof(ia[0]);      int ib[] = {0, 1, 2, 3, 0, 1, 2, 3};      const unsigned sb = sizeof(ib)/sizeof(ib[0]); ((void)sb); // unused in c++11 -     +      typedef input_iterator<const int*> II;      typedef random_access_iterator<const int*>  RAI;      typedef std::equal_to<int> EQ; @@ -48,7 +48,7 @@ int main()              == (std::pair<RAI, RAI>(RAI(ia+3), RAI(ib+3))));      assert(bcp.count() > 0 && bcp.count() < sa);      bcp.reset(); -         +  #ifdef HAS_FOUR_ITERATOR_VERSION      assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ())              == (std::pair<II, II>(II(ia+3), II(ib+3))));  | 
