gcc/libstdc++-v3
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
..
config Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
doc backwards_compatibility.xml: Adjust lists.debian.org link to https. 2016-05-29 08:03:35 +00:00
include Optimize inserting value_type into std::vector 2016-06-16 13:42:21 +01:00
libsupc++ libstdc++/69945 Add __gnu_cxx::__freeres hook 2016-03-24 18:13:40 +00:00
po
python
scripts
src libstdc++/71320 Add or remove file permissions correctly 2016-06-06 16:50:01 +01:00
testsuite Optimize inserting value_type into std::vector 2016-06-16 13:42:21 +01:00
acinclude.m4 Fix configure test for sendfile() 2016-05-25 17:13:52 +01:00
aclocal.m4
ChangeLog Optimize inserting value_type into std::vector 2016-06-16 13:42:21 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
config.h.in Fix configure test for sendfile() 2016-05-25 17:13:52 +01:00
configure Fix configure test for sendfile() 2016-05-25 17:13:52 +01:00
configure.ac libstdc++: Make certain exceptions transaction_safe. 2016-01-15 22:42:41 +00:00
configure.host Introduce separate baselines for Solaris 10 and 11+ (PR libstdc++/66006) 2016-01-13 09:48:53 +00:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.