gcc/libstdc++-v3/include/bits
Jonathan Wakely bd8485dc9f stl_vector.h: Use new allocator model in C++0x mode.
2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/stl_vector.h: Use new allocator model in C++0x mode.
	* include/bits/vector.tcc: Likewise.
	* testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
	* testsuite/23_containers/vector/allocator/copy_assign.cc: New.
	* testsuite/23_containers/vector/allocator/noexcept.cc: New.
	* testsuite/23_containers/vector/allocator/copy.cc: New.
	* testsuite/23_containers/vector/allocator/swap.cc: New.
	* testsuite/23_containers/vector/allocator/move_assign.cc: New.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
	Likewise.

From-SVN: r176078
2011-07-09 14:06:29 +01:00
..
algorithmfwd.h move.h (__is_nothrow_swappable): Add. 2011-06-21 23:01:03 +00:00
alloc_traits.h Makefile.am: Add alloc_traits.h headers. 2011-06-22 20:57:12 +01:00
allocator.h Makefile.am: Add alloc_traits.h headers. 2011-06-22 20:57:12 +01:00
atomic_0.h
atomic_2.h
atomic_base.h
basic_ios.h
basic_ios.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
basic_string.h allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
basic_string.tcc basic_string.h: Use noexcept per the FDIS (minus compare(const string&)... 2011-05-31 12:50:31 +00:00
boost_concept_check.h
c++0x_warning.h
c++config c++config (_GLIBCXX_NOTHROW): Update for noexcept. 2011-05-24 10:28:13 +00:00
char_traits.h char_traits.h: Use noexcept throughout. 2011-05-21 00:05:03 +00:00
codecvt.h Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
concept_check.h
cpp_type_traits.h
deque.tcc allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
forward_list.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
forward_list.tcc
fstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
functexcept.h
functional_hash.h
gslice.h
gslice_array.h
hashtable.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
hashtable_policy.h list.cc: Use noexcept per the FDIS. 2011-05-26 15:35:02 +00:00
indirect_array.h
ios_base.h
istream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
list.tcc
locale_classes.h
locale_classes.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
locale_facets.h
locale_facets.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
locale_facets_nonio.h
locale_facets_nonio.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
localefwd.h
mask_array.h
move.h move.h (__is_nothrow_swappable): Add. 2011-06-21 23:01:03 +00:00
ostream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
ostream_insert.h Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
postypes.h
ptr_traits.h ptr_traits.h (pointer_traits<T*>::pointer_to): Use noexcept. 2011-06-14 23:08:24 +01:00
random.h random.h (random_device::min, max): Specify constexpr. 2011-05-25 17:55:40 +00:00
random.tcc random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Tweak construction of _M_gd. 2011-03-25 10:06:33 +00:00
range_access.h
regex.h regex_compiler.h: Nest namespace versioning. 2011-03-15 02:55:19 +00:00
regex_compiler.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_constants.h
regex_cursor.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_error.h
regex_grep_matcher.h regex_compiler.h: Nest namespace versioning. 2011-03-15 02:55:19 +00:00
regex_grep_matcher.tcc Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_nfa.h Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
regex_nfa.tcc Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
shared_ptr.h shared_ptr_base.h: Use noexcept. 2011-05-18 23:59:17 +01:00
shared_ptr_base.h shared_ptr_base.h: Use noexcept. 2011-05-18 23:59:17 +01:00
slice_array.h
sstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
stl_algo.h [multiple changes] 2011-03-09 18:30:11 +00:00
stl_algobase.h
stl_bvector.h allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
stl_construct.h stl_construct.h: Update Copyright years. 2011-06-22 20:27:21 +00:00
stl_deque.h allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
stl_function.h
stl_heap.h
stl_iterator.h move.h (struct __move_if_noexcept_cond): Add. 2011-06-07 16:11:36 +00:00
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_list.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_map.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_multimap.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_multiset.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_numeric.h
stl_pair.h type_traits (__or_, __and_): Add trivial definitions for a single element. 2011-05-31 02:29:22 +00:00
stl_queue.h stl_queue.h: Use noexcept per the FDIS. 2011-05-26 00:36:35 +00:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_stack.h stl_queue.h: Use noexcept per the FDIS. 2011-05-26 00:36:35 +00:00
stl_tempbuf.h functional: Use noexcept. 2011-06-14 15:09:14 +00:00
stl_tree.h hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
stl_uninitialized.h stl_construct.h: Update Copyright years. 2011-06-22 20:27:21 +00:00
stl_vector.h stl_vector.h: Use new allocator model in C++0x mode. 2011-07-09 14:06:29 +01:00
stream_iterator.h
streambuf.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
streambuf_iterator.h streambuf_iterator.h: Use noexcept per the FDIS. 2011-05-23 23:03:42 +00:00
stringfwd.h
unique_ptr.h valarray (~valarray): Use noexcept. 2011-06-14 17:48:29 +00:00
unordered_map.h
unordered_set.h
uses_allocator.h tuple: Implement uses-allocator construction. 2011-05-30 17:31:17 +01:00
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc stl_vector.h: Use new allocator model in C++0x mode. 2011-07-09 14:06:29 +01:00