diff --git a/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp b/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp index 5104ce90..dc5564eb 100644 --- a/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp +++ b/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp @@ -29,6 +29,7 @@ test_one(unsigned N, unsigned M) std::random_shuffle(array, array+N); std::nth_element(array, array+M, array+N); assert(array[M] == M); + std::nth_element(array, array+N, array+N); // begin, end, end delete [] array; } diff --git a/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp b/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp index 538ec224..cf865903 100644 --- a/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp +++ b/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp @@ -42,6 +42,7 @@ test_one(unsigned N, unsigned M) std::random_shuffle(array, array+N); std::nth_element(array, array+M, array+N, std::greater()); assert(array[M] == N-M-1); + std::nth_element(array, array+N, array+N, std::greater()); // begin, end, end delete [] array; } diff --git a/www/cxx1y_status.html b/www/cxx1y_status.html index e92d67af..3ab81e07 100644 --- a/www/cxx1y_status.html +++ b/www/cxx1y_status.html @@ -231,11 +231,11 @@ 2003String exception inconsistency in erase.IssaquahComplete 2112User-defined classes that cannot be derived fromIssaquah 2132std::function ambiguityIssaquah - 2182Container::[const_]reference types are misleadingly specifiedIssaquah + 2182Container::[const_]reference types are misleadingly specifiedIssaquahComplete 2188Reverse iterator does not fully support targets that overload operator&IssaquahComplete 2193Default constructors for standard library containers are explicitIssaquah 2205Problematic postconditions of regex_match and regex_searchIssaquah - 2213Return value of std::regex_replaceIssaquah + 2213Return value of std::regex_replaceIssaquahComplete 2258a.erase(q1, q2) unable to directly return q2IssaquahComplete 2263Comparing iterators and allocator pointers with different const-characterIssaquah @@ -251,12 +251,12 @@ 2317The type property queries should be UnaryTypeTraits returning size_tIssaquahComplete 2320select_on_container_copy_construction() takes allocators, not containersIssaquah 2322Associative(initializer_list, stuff) constructors are underspecifiedIssaquah - 2323vector::resize(n, t)'s specification should be simplifiedIssaquah + 2323vector::resize(n, t)'s specification should be simplifiedIssaquahComplete 2324Insert iterator constructors should use addressof()Issaquah 2329regex_match()/regex_search() with match_results should forbid temporary stringsIssaquahComplete 2330regex("meow", regex::icase) is technically forbidden but should be permittedIssaquah 2332regex_iterator/regex_token_iterator should forbid temporary regexesIssaquahComplete - 2339Wording issue in nth_elementIssaquah + 2339Wording issue in nth_elementIssaquahComplete 2341Inconsistency between basic_ostream::seekp(pos) and basic_ostream::seekp(off, dir)IssaquahComplete 2344quoted()'s interaction with padding is unclearIssaquah 2346integral_constant's member functions should be marked noexceptIssaquahComplete