stl_list.h [!_GLIBCXX_INLINE_VERSION](_List_base<>::_S_distance): Remove.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 24 Aug 2017 20:31:53 +0000 (20:31 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 24 Aug 2017 20:31:53 +0000 (20:31 +0000)
commit55500f5d2874080a6a54db6596c480a02cfe4203
tree51a3608c33d1213979595a6864d1b43947e8365d
parentdb1e5f32c2d861ff627397815c6536c7ea35b897
stl_list.h [!_GLIBCXX_INLINE_VERSION](_List_base<>::_S_distance): Remove.

2017-08-24  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_list.h
[!_GLIBCXX_INLINE_VERSION](_List_base<>::_S_distance): Remove.
(_List_impl(_Node_alloc_type&&, _List_impl&&)): New.
(_List_base(_Node_alloc_type&&, _List_base&&)): New, use latter.
[!_GLIBCXX_INLINE_VERSION](_List_base(_Node_alloc_type&&,_List_base&&)):
Remove.
(_List_base(_Node_alloc_type&&)): New.
[!_GLIBCXX_INLINE_VERSION](_List_base<>::_M_distance): Remove.
[!_GLIBCXX_INLINE_VERSION](_List_base<>::_M_node_count): Remove.
(list<>::_M_node_count): New.
(list<>::size()): Adapt to call latter.
(list<>::_S_distance(const_iterator, const_iterator)): New.
(list<>::splice(iterator, list&, const_iterator, const_iterator)):
Adapt to call latter.
(list(list&&, const allocator_type&, true_type)): New.
(list(list&&, const allocator_type&, false_type)): New.
(list(list&&, const allocator_type&)): Adapt to call latters.

From-SVN: r251342
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_list.h