gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 0ae207e947 Optimize inserting value_type into std::vector
* include/bits/stl_vector.h (vector::_S_insert_aux_assign): Define
	new overloaded functions.
	* include/bits/vector.tcc (vector::_M_insert_aux): Use new functions
	to avoid creating a redundant temporary.
	* testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc: New
	test.

From-SVN: r237526
2016-06-16 13:42:21 +01:00
..
array Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
bitset Update copyright years. 2016-01-04 15:30:50 +01:00
deque Update copyright years. 2016-01-04 15:30:50 +01:00
forward_list Update copyright years. 2016-01-04 15:30:50 +01:00
headers Update copyright years. 2016-01-04 15:30:50 +01:00
list Update copyright years. 2016-01-04 15:30:50 +01:00
map Update copyright years. 2016-01-04 15:30:50 +01:00
multimap Update copyright years. 2016-01-04 15:30:50 +01:00
multiset Update copyright years. 2016-01-04 15:30:50 +01:00
priority_queue Update copyright years. 2016-01-04 15:30:50 +01:00
queue Update copyright years. 2016-01-04 15:30:50 +01:00
set Update copyright years. 2016-01-04 15:30:50 +01:00
stack Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_map Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_multimap Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_multiset Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_set c++config (_GLIBCXX14_USE_CONSTEXPR): New. 2016-05-24 20:55:57 +00:00
vector Optimize inserting value_type into std::vector 2016-06-16 13:42:21 +01:00