r239696 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Aug 23 12:23:00 GMT 2016


Author: redi
Date: Tue Aug 23 12:23:11 2016
New Revision: 239696

URL: https://gcc.gnu.org/viewcvs?rev=239696&root=gcc&view=rev
Log:
libstdc++/71771 constrain reverse_iterator difference op

	* include/bits/stl_iterator.h
	(operator-(reverse_iterator<Iter>, reverse_iterator<Iter>): Constrain
	for C++11 and later.
	* testsuite/24_iterators/reverse_iterator/71771.cc: New test.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/24_iterators/reverse_iterator/71771.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/bits/stl_iterator.h



More information about the Libstdc++-cvs mailing list