r276636 - in /trunk/libstdc++-v3: ChangeLog inc...
fdumont@gcc.gnu.org
fdumont@gcc.gnu.org
Sun Oct 6 10:29:00 GMT 2019
Author: fdumont
Date: Sun Oct 6 10:29:35 2019
New Revision: 276636
URL: https://gcc.gnu.org/viewcvs?rev=276636&root=gcc&view=rev
Log:
Add std::copy_n __glibcxx_requires_can_increment checks.
* include/bits/stl_algo.h (copy_n): Add __glibcxx_requires_can_increment
debug checks.
* testsuite/25_algorithms/copy_n/debug/1_neg.cc: New.
* testsuite/25_algorithms/copy_n/debug/2_neg.cc: New.
Added:
trunk/libstdc++-v3/testsuite/25_algorithms/copy_n/debug/
trunk/libstdc++-v3/testsuite/25_algorithms/copy_n/debug/1_neg.cc
trunk/libstdc++-v3/testsuite/25_algorithms/copy_n/debug/2_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_algo.h
More information about the Libstdc++-cvs
mailing list