r275684 - in /branches/gcc-9-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Sep 12 10:51:00 GMT 2019


Author: redi
Date: Thu Sep 12 10:51:58 2019
New Revision: 275684

URL: https://gcc.gnu.org/viewcvs?rev=275684&root=gcc&view=rev
Log:
PR libstdc++/91748 fix std::for_each_n for random access iterators

	PR libstdc++/91748
	* include/bits/stl_algo.h (for_each_n): Fix random access iterator
	case.
	* testsuite/25_algorithms/for_each/for_each_n.cc: Test with random
	access iterators.

Modified:
    branches/gcc-9-branch/libstdc++-v3/ChangeLog
    branches/gcc-9-branch/libstdc++-v3/include/bits/stl_algo.h
    branches/gcc-9-branch/libstdc++-v3/testsuite/25_algorithms/for_each/for_each_n.cc



More information about the Libstdc++-cvs mailing list