diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-06-17 18:45:45 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-06-17 18:45:45 +0100 |
commit | 21bdef94b1e8c178e932cb5b560726c2c8c00323 (patch) | |
tree | 86bc0511ca3b5bdc6195116ae2e7545cb0516f94 /gcc/tree-vectorizer.c | |
parent | 41571b55b1c023158fda594eafa431e943c87819 (diff) | |
download | gcc-21bdef94b1e8c178e932cb5b560726c2c8c00323.zip gcc-21bdef94b1e8c178e932cb5b560726c2c8c00323.tar.gz gcc-21bdef94b1e8c178e932cb5b560726c2c8c00323.tar.bz2 |
forward_list.h (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to rvalue-reference.
* include/bits/forward_list.h
(_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
rvalue-reference.
(_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
(forward_list(const _Alloc&)): Split default constructor out to
separate function.
(forward_list(forward_list&&, const _Alloc&)): Move elements if base
class didn't do so.
(forward_list::_M_move_assign(forward_list&&, true_type)): Replace
swap call with two assignments.
* include/bits/forward_list.tcc
(_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
move elements when allocators are not equal.
* include/debug/forward_list (forward_list(const allocator_type&)):
Split default constructor out to separate function.
* include/profile/forward_list (forward_list(const _Alloc&)):
Likewise.
From-SVN: r224566
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions