gcc/libstdc++-v3/include/profile
Jonathan Wakely fd18c76ac8 Make std::deque meet C++11 allocator requirements.
* include/bits/deque.tcc (deque::operator=(const deque&)): Handle
	allocator propagation.
	(deque::emplace_front, deque::emplace_back): Use allocator traits.
	(deque::_M_push_back_aux, deque::_M_push_front_aux): Likewise.
	(deque::_M_pop_back_aux, deque::_M_pop_front_aux): Likewise.
	* include/bits/stl_deque.h (__deque_buf_size): Add constexpr.
	(_Deque_iterator): Handle allocators with custom pointers.
	(_Deque_base): Likewise. Use allocator traits.
	(deque): Likewise. Add allocator-extended constructors.
	(deque::_M_move_assign1, deque::_M_move_assign2): Implement move
	assignment via tag dispatching.
	(deque::_M_replace_map): Replace existing data.
	* include/debug/deque (deque): Add allocator-extended constructors.
	* include/profile/deque (deque): Likewise.
	* testsuite/23_containers/deque/allocator/copy.cc: New.
	* testsuite/23_containers/deque/allocator/copy_assign.cc: New.
	* testsuite/23_containers/deque/allocator/ext_ptr.cc: New.
	* testsuite/23_containers/deque/allocator/minimal.cc: New.
	* testsuite/23_containers/deque/allocator/move.cc: New.
	* testsuite/23_containers/deque/allocator/move_assign-2.cc: New.
	* testsuite/23_containers/deque/allocator/move_assign.cc: New.
	* testsuite/23_containers/deque/allocator/noexcept.cc: New.
	* testsuite/23_containers/deque/allocator/swap.cc: New.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
	Adjust dg-error line number.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/52591.cc: Test both the propagating
	and always-equal cases.

From-SVN: r215090
2014-09-09 18:29:32 +01:00
..
impl profiler_hash_func.h: Fix a comment typo 2014-08-13 16:28:39 +00:00
array array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
base.h array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
bitset array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
deque Make std::deque meet C++11 allocator requirements. 2014-09-09 18:29:32 +01:00
forward_list array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
iterator_tracker.h array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
list array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
map Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
map.h map.h: Fix typo in comment; minor formatting fix. 2014-05-25 08:38:01 +00:00
multimap.h map.h: Fix typo in comment; minor formatting fix. 2014-05-25 08:38:01 +00:00
multiset.h map.h: Fix typo in comment; minor formatting fix. 2014-05-25 08:38:01 +00:00
ordered_base.h array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
set Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
set.h map.h: Fix typo in comment; minor formatting fix. 2014-05-25 08:38:01 +00:00
unordered_base.h array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
unordered_map array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
unordered_set array: Clean useless white chars. 2014-05-24 20:59:00 +00:00
vector array: Clean useless white chars. 2014-05-24 20:59:00 +00:00