]> git.ipfire.org Git - thirdparty/gcc.git/commit
* include/bits/forward_list.h (forward_list): Adjust comments.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 01:09:59 +0000 (01:09 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 01:09:59 +0000 (01:09 +0000)
commit37719abe078396f6f15c2201f5e539acb69bee69
tree60c03fea890c08bdd94869932fae96787b154638
parent0b1e172cc2c34a62681fdee312b982fc429e792c
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193009 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/forward_list.h
libstdc++-v3/include/bits/forward_list.tcc