gcc/libstdc++-v3/include/bits
Jonathan Wakely c5d9ec5670 c++config (_GLIBCXX_NOEXCEPT_IF): Define.
* include/bits/c++config (_GLIBCXX_NOEXCEPT_IF): Define.
	* include/bits/forward_list.h (forward_list::swap): Make noexcept
	unconditional.
	* include/bits/hashtable.h (_Hashtable::swap): Do not use
	_S_nothrow_swap().
	* include/bits/stl_bvector.h (vector<bool>::swap): Make noexcept
	unconditional.
	* include/bits/stl_deque.h (deque::swap): Likewise.
	(swap(deque&, deque&)): Use _GLIBCXX_NOEXCEPT_IF.
	* include/bits/stl_list.h (list::swap): Make noexcept unconditional.
	(swap(list&, list&)): Use _GLIBCXX_NOEXCEPT_IF.
	* include/bits/stl_map.h (map::swap, swap(map&, map&)): Use
	_GLIBCXX_NOEXCEPT_IF, do not depend on _S_nothrow_swap.
	* include/bits/stl_multimap.h (multimap::swap,
	swap(multimap&, multimap&)): Likewise.
	* include/bits/stl_multiset.h (multiset::swap,
	swap(multiset&, multiset&)): Likewise.
	* include/bits/stl_set.h (set::swap, swap(set&, set&)): Likewise.
	* include/bits/stl_tree.h (_Rb_tree::swap,
	swap(_Rb_tree&, _Rb_tree&)): Likewise.
	* include/bits/stl_vector.h (vector::swap): Make noexcept
	unconditional.
	(swap(vector&, vector&)): Use _GLIBCXX_NOEXCEPT_IF.
	* include/debug/deque (deque::swap, swap): Likewise.
	* include/debug/forward_list (swap): Add noexcept.
	* include/debug/list (list::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
	* include/debug/map.h (map::swap, swap): Likewise.
	* include/debug/multimap.h (multimap::swap, swap): Likewise.
	* include/debug/multiset.h (multiset::Swap, swap): Likewise.
	* include/debug/set.h (set::swap, swap): Likewise.
	* include/debug/unordered_map (unordered_map::swap,
	unordered_multimap::swap, swap): Likewise.
	* include/debug/unordered_set (unordered_set::swap,
	unordered_multiset::swap, swap): Likewise.
	* include/debug/vector (vector::swap, swap): Likewise.
	* include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()):
	Remove.
	* include/profile/deque (deque::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
	* include/profile/forward_list (swap): Add noexcept.
	* include/profile/list (list::swap, swap) : Use _GLIBCXX_NOEXCEPT_IF.
	* include/profile/map.h (map::swap, swap): Likewise.
	* include/profile/multimap.h (multimap::swap, swap): Likewise.
	* include/profile/multiset.h (multiset::swap, swap): Likewise.
	* include/profile/set.h (set::swap, swap): Likewise.
	* include/profile/unordered_map (swap): Likewise.
	* include/profile/unordered_set (swap): Likewise.
	* include/profile/vector (vector::swap, swap): Likewise. Remove
	overloads for swapping rvalues.
	* testsuite/23_containers/deque/allocator/noexcept.cc: Update tests
	for noexcept on swap.
	* testsuite/23_containers/forward_list/allocator/noexcept.cc:
	Likewise.
	* testsuite/23_containers/list/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/unordered_map/allocator/noexcept.cc:
	Likewise.
	* testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
	Likewise.
	* testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
	Likewise.
	* testsuite/23_containers/unordered_set/allocator/noexcept.cc:
	Likewise.
	* testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
	* testsuite/23_containers/vector/bool/allocator/noexcept.cc: Likewise.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line
	number.

From-SVN: r225744
2015-07-13 18:15:48 +01:00
..
algorithmfwd.h Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
alloc_traits.h alloc_traits.h (__alloctr_rebind): Remove. 2015-07-01 13:24:09 +01:00
allocated_ptr.h * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof. 2015-06-16 23:33:06 +01:00
allocator.h Implement N4258 (Cleaning-up noexcept in the Library rev 3) 2015-06-26 21:10:24 +01:00
atomic_base.h re PR libstdc++/65147 (alignment of std::atomic object is not correct) 2015-04-09 12:15:44 +01:00
atomic_futex.h atomic_base.h: Use __always_inline__ instead of always_inline. 2015-01-29 12:47:20 +00:00
basic_ios.h Update copyright years. 2015-01-05 13:33:28 +01:00
basic_ios.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
basic_string.h basic_string.h (basic_string<>::front()): Add !empty debug check. 2015-06-24 20:12:05 +00:00
basic_string.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
boost_concept_check.h Update copyright years. 2015-01-05 13:33:28 +01:00
c++0x_warning.h Update copyright years. 2015-01-05 13:33:28 +01:00
c++14_warning.h Update copyright years. 2015-01-05 13:33:28 +01:00
c++config c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
char_traits.h Update copyright years. 2015-01-05 13:33:28 +01:00
codecvt.h Add C++11 std::string constructors for locales and facets. 2015-01-20 11:50:51 +00:00
concept_check.h Update copyright years. 2015-01-05 13:33:28 +01:00
cpp_type_traits.h 2015-05-20 François Dumont <fdumont@gcc.gnu.org> 2015-05-20 19:02:22 +00:00
deque.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
enable_special_members.h Update copyright years. 2015-01-05 13:33:28 +01:00
forward_list.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
forward_list.tcc forward_list.h (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to rvalue-reference. 2015-06-17 18:45:45 +01:00
fstream.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
functexcept.h Update copyright years. 2015-01-05 13:33:28 +01:00
functional_hash.h Update copyright years. 2015-01-05 13:33:28 +01:00
gslice_array.h Update copyright years. 2015-01-05 13:33:28 +01:00
gslice.h Update copyright years. 2015-01-05 13:33:28 +01:00
hashtable_policy.h hashtable_policy.h (_Prime_rehash_policy::_S_n_primes): Delete. 2015-04-30 07:13:37 +00:00
hashtable.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
indirect_array.h Update copyright years. 2015-01-05 13:33:28 +01:00
ios_base.h Update copyright years. 2015-01-05 13:33:28 +01:00
istream.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
list.tcc C++11 allocator support for std::list. 2015-06-17 21:36:42 +01:00
locale_classes.h locale_classes.h (locale::facet): Delete copy operations in C++11 mode. 2015-05-01 17:50:31 +01:00
locale_classes.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
locale_conv.h * include/bits/locale_conv.h (__do_str_codecvt): Set __count. 2015-06-25 19:23:41 +01:00
locale_facets_nonio.h Add C++11 std::string constructors for locales and facets. 2015-01-20 11:50:51 +00:00
locale_facets_nonio.tcc re PR libstdc++/64657 (Support iterators with overloaded operator-comma) 2015-04-29 16:22:13 +01:00
locale_facets.h Add C++11 std::string constructors for locales and facets. 2015-01-20 11:50:51 +00:00
locale_facets.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
localefwd.h Update copyright years. 2015-01-05 13:33:28 +01:00
mask_array.h Update copyright years. 2015-01-05 13:33:28 +01:00
memoryfwd.h Update copyright years. 2015-01-05 13:33:28 +01:00
move.h Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
ostream_insert.h Update copyright years. 2015-01-05 13:33:28 +01:00
ostream.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
parse_numbers.h Update copyright years. 2015-01-05 13:33:28 +01:00
postypes.h Update copyright years. 2015-01-05 13:33:28 +01:00
predefined_ops.h Update copyright years. 2015-01-05 13:33:28 +01:00
ptr_traits.h ptr_traits.h (__ptrtr_elt_type, [...]): Remove 2015-07-01 13:24:03 +01:00
quoted_string.h locale_conv.h: Fix copyright years. 2015-05-26 10:52:25 +01:00
random.h * include/bits/random.h (seed_seq): More noexcept (LWG 2440). 2015-05-13 13:21:52 +01:00
random.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
range_access.h range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR on overloads for arrays. 2015-01-19 14:37:03 +00:00
regex_automaton.h Update copyright years. 2015-01-05 13:33:28 +01:00
regex_automaton.tcc regex.tcc: Handle regex_constants::__polynomial. 2015-04-28 04:16:48 +00:00
regex_compiler.h re PR libstdc++/64584 (basic_regex::assign breaks *this if it throws regex_error) 2015-01-19 22:56:04 +00:00
regex_compiler.tcc re PR libstdc++/64239 (regex_iterator::operator= should copy match_results::position) 2015-01-09 03:58:59 +00:00
regex_constants.h regex.tcc: Handle regex_constants::__polynomial. 2015-04-28 04:16:48 +00:00
regex_error.h Update copyright years. 2015-01-05 13:33:28 +01:00
regex_executor.h Update copyright years. 2015-01-05 13:33:28 +01:00
regex_executor.tcc regex.tcc: Handle regex_constants::__polynomial. 2015-04-28 04:16:48 +00:00
regex_scanner.h Update copyright years. 2015-01-05 13:33:28 +01:00
regex_scanner.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
regex.h re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_match::matched is false) 2015-03-10 18:41:46 +00:00
regex.tcc regex.tcc: Handle regex_constants::__polynomial. 2015-04-28 04:16:48 +00:00
shared_ptr_atomic.h Update copyright years. 2015-01-05 13:33:28 +01:00
shared_ptr_base.h Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
shared_ptr.h Update copyright years. 2015-01-05 13:33:28 +01:00
slice_array.h Update copyright years. 2015-01-05 13:33:28 +01:00
sstream.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
stl_algo.h re PR libstdc++/64657 (Support iterators with overloaded operator-comma) 2015-04-29 16:22:13 +01:00
stl_algobase.h re PR libstdc++/66354 ([UBSAN] stl_algobase.h:708:7: runtime error: null pointer passed as argument) 2015-05-31 23:42:17 +01:00
stl_bvector.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_construct.h Update copyright years. 2015-01-05 13:33:28 +01:00
stl_deque.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_function.h Update copyright years. 2015-01-05 13:33:28 +01:00
stl_heap.h Update copyright years. 2015-01-05 13:33:28 +01:00
stl_iterator_base_funcs.h 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
stl_iterator_base_types.h stl_iterator_base_types.h (_Iter_base): Limit definition to pre-C++11 mode. 2015-06-29 20:17:56 +00:00
stl_iterator.h stl_iterator_base_types.h (_Iter_base): Limit definition to pre-C++11 mode. 2015-06-29 20:17:56 +00:00
stl_list.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_map.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_multimap.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_multiset.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_numeric.h re PR libstdc++/64657 (Support iterators with overloaded operator-comma) 2015-04-29 16:22:13 +01:00
stl_pair.h * include/bits/stl_pair.h: Replace class keyword with typename. 2015-06-30 14:35:36 +01:00
stl_queue.h Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
stl_raw_storage_iter.h stl_raw_storage_iter.h (raw_storage_iterator::base()): Define (LWG 2454). 2015-05-13 14:54:46 +01:00
stl_relops.h Update copyright years. 2015-01-05 13:33:28 +01:00
stl_set.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_stack.h Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
stl_tempbuf.h Update copyright years. 2015-01-05 13:33:28 +01:00
stl_tree.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stl_uninitialized.h re PR libstdc++/64657 (Support iterators with overloaded operator-comma) 2015-06-22 16:09:14 +01:00
stl_vector.h c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
stream_iterator.h Update copyright years. 2015-01-05 13:33:28 +01:00
streambuf_iterator.h Update copyright years. 2015-01-05 13:33:28 +01:00
streambuf.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
stringfwd.h Update copyright years. 2015-01-05 13:33:28 +01:00
unique_ptr.h 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
unordered_map.h Implement N4258 (Cleaning-up noexcept in the Library rev 3) 2015-06-26 21:10:24 +01:00
unordered_set.h Implement N4258 (Cleaning-up noexcept in the Library rev 3) 2015-06-26 21:10:24 +01:00
uses_allocator.h Update copyright years. 2015-01-05 13:33:28 +01:00
valarray_after.h Update copyright years. 2015-01-05 13:33:28 +01:00
valarray_array.h Update copyright years. 2015-01-05 13:33:28 +01:00
valarray_array.tcc Update copyright years. 2015-01-05 13:33:28 +01:00
valarray_before.h Update copyright years. 2015-01-05 13:33:28 +01:00
vector.tcc Update copyright years. 2015-01-05 13:33:28 +01:00