gcc/libstdc++-v3/testsuite
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
..
17_intro
18_support Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
19_diagnostics
20_util Support allocators in tuples of zero size. 2016-06-06 19:28:59 +03:00
21_strings
22_locale libstdc++/69703 ignore endianness in codecvt_utf8 2016-04-19 19:02:46 +01:00
23_containers Optimize inserting value_type into std::vector 2016-06-16 13:42:21 +01:00
24_iterators libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
25_algorithms Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
26_numerics PR libstdc++/41759 reword static assertions in <random> 2016-04-18 19:03:50 +01:00
27_io
28_regex re PR libstdc++/70745 (Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow) 2016-04-23 03:58:37 +00:00
29_atomics libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
30_threads libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
abi
backward
config
data
decimal Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
experimental libstdc++/71320 Add or remove file permissions correctly 2016-06-06 16:50:01 +01:00
ext Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
lib Enable dg-reqire-sharedlib on Solaris 2016-05-05 19:54:42 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance c++config (_GLIBCXX14_USE_CONSTEXPR): New. 2016-05-24 20:55:57 +00:00
special_functions
tr1 Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
tr2
util Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
Makefile.am
Makefile.in