Index: test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp =================================================================== --- test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp +++ test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp @@ -14,6 +14,10 @@ // void // make_heap(Iter first, Iter last, Compare comp); +// Disable MSVC++'s "comp(a, b) implies !comp(b, a)" assertion: +#undef _ITERATOR_DEBUG_LEVEL +#define _ITERATOR_DEBUG_LEVEL 0 + #include #include #include Index: test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp =================================================================== --- test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp +++ test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp @@ -15,6 +15,10 @@ // void // inplace_merge(Iter first, Iter middle, Iter last, Compare comp); +// Disable MSVC++'s "comp(a, b) implies !comp(b, a)" assertion: +#undef _ITERATOR_DEBUG_LEVEL +#define _ITERATOR_DEBUG_LEVEL 0 + #include #include #include Index: test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp =================================================================== --- test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp +++ test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp @@ -17,6 +17,10 @@ // // Complexity: At most (3/2) * t.size() applications of the corresponding predicate. +// Disable MSVC++'s "comp(a, b) implies !comp(b, a)" assertion: +#undef _ITERATOR_DEBUG_LEVEL +#define _ITERATOR_DEBUG_LEVEL 0 + #include #include #include