forward_list.h (forward_list): Adjust comments.
commitb0b4a253087edb32c7c1b7f07e156d6caf6ff3b3
authorJonathan Wakely <redi@gcc.gnu.org>
Wed, 31 Oct 2012 01:09:59 +0000 (31 01:09 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 31 Oct 2012 01:09:59 +0000 (31 01:09 +0000)
tree60c03fea890c08bdd94869932fae96787b154638
parent4e1866fe6f17ad219a2855ab21b5e45de225ce25
forward_list.h (forward_list): Adjust comments.

* include/bits/forward_list.h (forward_list): Adjust comments.
(forward_list(const forward_list&, const _Alloc&)): Use
_M_range_initialize to copy elements.
(forward_list(forward_list&&, const _Alloc&)): Add exception
specification.
(_Fwd_list_base(const _Fwd_list_base&, const _Node_alloc_type&)):
Remove.
* include/bits/forward_list.tcc (_Fwd_list_base(const _Fwd_list_base&,
const _Node_alloc_type&)): Remove.
(_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Fix
memory leak when allocators are not equal.

From-SVN: r193009
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/forward_list.h
libstdc++-v3/include/bits/forward_list.tcc