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
..
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00