gcc/libstdc++-v3
François Dumont 8a752dfea6 allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix.
2011-06-12  François Dumont  <francois.cppdevs@free.fr>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/allocator.h (__shrink_to_fit): Rename to
	__shrink_to_fit_aux, fix.
	* include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	* include/debug/vector (shrink_to_fit): Likewise.
	* include/bits/vector.tcc (_M_shrink_to_fit): Define.
	* include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	* include/debug/deque (shrink_to_fit): Likewise.
	* include/bits/deque.tcc (_M_shrink_to_fit): Define.
	* include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
	* include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	(reserve): Use _M_reallocate, move inline.
	(_Bvector_base<>::_S_nword): Add, use it throughout.
	* include/debug/string (shrink_to_fit): Redo.
	* include/ext/vstring.h (shrink_to_fit): Optimize.
	* include/bits/basic_string.h (shrink_to_fit): Likewise.
	* testsuite/21_strings/debug/shrink_to_fit.cc: New.
	* testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
	* testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
	Likewise.
	* testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
	Likewise.
	* testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.



Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r174967
2011-06-12 15:51:36 +00:00
..
config acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
doc status_cxx200x.xml: Update. 2011-05-31 09:11:15 +01:00
include allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
libsupc++ guard.cc: Fix comments. 2011-05-26 00:43:32 +01:00
po re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path) 2011-03-08 00:04:05 +00:00
python printers.py (_use_gdb_pp): New global. 2011-03-14 20:29:23 +00:00
scripts extract_symvers.in: Handle processor/OS specific or unknown symbol binding strings from readelf. 2011-06-09 11:27:40 +00:00
src acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
testsuite allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
acinclude.m4 acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
aclocal.m4 aclocal.m4: Regenerate. 2011-01-11 16:43:25 +00:00
ChangeLog allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00: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 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
config.h.in acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
configure acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
configure.ac acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
configure.host
crossconfig.m4 crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*. 2011-02-04 08:26:57 +01:00
fragment.am
linkage.m4
Makefile.am run_doxygen: Allow doxygen 1.7.1 again. 2010-12-31 22:20:22 +00:00
Makefile.in re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path) 2011-03-08 00:04:05 +00:00
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.