stl_list.h (struct _List_node_header): New.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 18 Jul 2017 20:26:08 +0000 (20:26 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 18 Jul 2017 20:26:08 +0000 (20:26 +0000)
commit4f9e1f4d9ddb120ca1a3df8df2e29c94820d7fc2
treeb2a27b9ca8547ecc75a2ad3526145c753fbf0bb0
parente822e8858882b88f33a975849c6474031e28ea08
stl_list.h (struct _List_node_header): New.

2017-07-18  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_list.h
(struct _List_node_header): New.
(_List_impl()): Fix noexcept qualification.
(_List_impl(_List_impl&&)): New, default.
(_List_base()): Default.
(_List_base(_List_base&&)): Default.
(_List_base::_M_move_nodes): Adapt to use
_List_node_header._M_move_nodes.
(_List_base::_M_init): Likewise.
(list<>()): Default.
(list<>(list&&)): Default.
(list<>::_M_move_assign(list&&, true_type)): Use _M_move_nodes.
(__distance(_List_const_iterator<>, _List_const_iterator<>,
input_iterator_tag)): Adapt.
* testsuite/23_containers/list/allocator/default_init.cc: New.

From-SVN: r250320
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_list.h
libstdc++-v3/testsuite/23_containers/list/allocator/default_init.cc [new file with mode: 0644]