gcc/libstdc++-v3
Jonathan Wakely cc7f3d0eee C++11 allocator support for std::list.
PR libstdc++/55409
	* include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
	(list::list(const list&)): Use allocator propagation trait. Use
	_M_assign_dispatch to copy elements.
	* include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
	(_List_node::_M_valptr()): Add accessor for stored value.
	(_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
	(_List_base, list): Use allocator traits.
	(_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
	(_List_base::_M_move_nodes): New function.
	(_List_base(_List_base&&)): Use _M_move_nodes.
	(_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
	(list::_M_create_node, list::_M_erase, list::max_size): Use allocator
	traits.
	(list(size_type)): Add allocator parameter.
	(list(const list&)): Use allocator propagation trait.
	(list(const list&, const allocator_type&)): New constructor.
	(list(list&&, const allocator_type&)): Likewise.
	(list::operator=(list&&), list::swap(list&)): Use allocator
	propagation traits.
	(list::_M_move_assign): New functions.
	* include/debug/list: Add allocator-extended constructors.
	* include/profile/list: Likewise.
	* python/libstdcxx/v6/printers.py (get_value_from_list_node): New
	function to get value from _List_node.
	(StdListPrinter): Use get_value_from_list_node.
	* testsuite/23_containers/list/allocator/copy.cc: New.
	* testsuite/23_containers/list/allocator/copy_assign.cc: New.
	* testsuite/23_containers/list/allocator/minimal.cc: New.
	* testsuite/23_containers/list/allocator/move.cc: New.
	* testsuite/23_containers/list/allocator/move_assign.cc: New.
	* testsuite/23_containers/list/allocator/noexcept.cc: New.
	* testsuite/23_containers/list/allocator/swap.cc: New.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust dg-prune-output line number.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
	Likewise.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
	Likewise.

From-SVN: r224580
2015-06-17 21:36:42 +01:00
..
config Use atomics in guard.cc / remove special casing in targets. 2015-06-12 09:55:38 +00:00
doc status_cxx2017.xml: Update status tables. 2015-06-05 18:17:53 +01:00
include C++11 allocator support for std::list. 2015-06-17 21:36:42 +01:00
libsupc++ Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
po libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
python C++11 allocator support for std::list. 2015-06-17 21:36:42 +01:00
scripts Implement N4100 File System TS 2015-04-30 20:11:52 +01:00
src re PR libstdc++/65393 (std::thread shared_ptr inefficiency) 2015-06-16 18:53:52 +01:00
testsuite C++11 allocator support for std::list. 2015-06-17 21:36:42 +01:00
acinclude.m4 re PR libstdc++/66011 (call to '__open_missing_mode' declared with attribute error) 2015-05-14 14:23:14 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
ChangeLog C++11 allocator support for std::list. 2015-06-17 21:36:42 +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
config.h.in re PR libstdc++/66011 (call to '__open_missing_mode' declared with attribute error) 2015-05-14 14:23:14 +01:00
configure re PR libstdc++/66011 (call to '__open_missing_mode' declared with attribute error) 2015-05-14 14:23:14 +01:00
configure.ac re PR libstdc++/66018 (opendir configure test not working when GCC_NO_EXECUTABLES) 2015-05-14 12:47:19 +01:00
configure.host Use atomics in guard.cc / remove special casing in targets. 2015-06-12 09:53:24 +00:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am Makefile.am (SUBDIRS): Move python to hosted_source. 2015-04-28 20:42:51 +01:00
Makefile.in libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +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.