r227447 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Sep 3 14:35:00 GMT 2015


Author: redi
Date: Thu Sep  3 14:35:43 2015
New Revision: 227447

URL: https://gcc.gnu.org/viewcvs?rev=227447&root=gcc&view=rev
Log:
Add concept checks to std::next and std::prev.

	PR libstdc++/62039
	* include/bits/stl_iterator_base_funcs.h (next, prev): Add concept
	checks.
	* testsuite/24_iterators/operations/prev_neg.cc: New.
	* testsuite/24_iterators/operations/next_neg.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc
    trunk/libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_iterator_base_funcs.h



More information about the Libstdc++-cvs mailing list