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

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Jun 25 16:46:00 GMT 2018


Author: redi
Date: Mon Jun 25 16:46:33 2018
New Revision: 262029

URL: https://gcc.gnu.org/viewcvs?rev=262029&root=gcc&view=rev
Log:
PR libstdc++/86292 fix exception safety of std::vector<InputIterator> constructor

	PR libstdc++/86292
	* include/bits/stl_vector.h (vector::_M_range_initialize<InputIter>):
	Add try-catch block.
	* testsuite/23_containers/vector/cons/86292.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/vector/cons/86292.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_vector.h



More information about the Libstdc++-cvs mailing list