r240787 - in /branches/gcc-6-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Oct 5 13:43:00 GMT 2016


Author: redi
Date: Wed Oct  5 13:43:44 2016
New Revision: 240787

URL: https://gcc.gnu.org/viewcvs?rev=240787&root=gcc&view=rev
Log:
77864 Fix noexcept conditions for map/set default constructors

	PR libstdc++/77864
	* include/bits/stl_map.h (map::map()): Use nothrow constructibility
	of comparison function in conditional noexcept.
	* include/bits/stl_multimap.h (multimap::multimap()): Likewise.
	* include/bits/stl_multiset.h (multiset::multiset()): Likewise.
	* include/bits/stl_set.h (set::set()): Likewise.
	* testsuite/23_containers/map/cons/noexcept_default_construct.cc:
	New test.
	* testsuite/23_containers/multimap/cons/noexcept_default_construct.cc:
	Likewise.
	* testsuite/23_containers/multiset/cons/noexcept_default_construct.cc:
	Likewise.
	* testsuite/23_containers/set/cons/noexcept_default_construct.cc:
	Likewise.

Added:
    branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/map/cons/noexcept_default_construct.cc
    branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/multimap/cons/noexcept_default_construct.cc
    branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/multiset/cons/noexcept_default_construct.cc
    branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/set/cons/noexcept_default_construct.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/stl_map.h
    branches/gcc-6-branch/libstdc++-v3/include/bits/stl_multimap.h
    branches/gcc-6-branch/libstdc++-v3/include/bits/stl_multiset.h
    branches/gcc-6-branch/libstdc++-v3/include/bits/stl_set.h



More information about the Libstdc++-cvs mailing list