diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-05-19 23:24:50 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-05-19 23:24:50 +0100 |
commit | 8e72571637a1f148628617d7eaa3b45809af247d (patch) | |
tree | 8cb0574eb9d23b26434446f7842b4712e5539ded /COPYING.LIB | |
parent | 4d6eb35a6dbe6c9808779ca446667f8a8374a11b (diff) | |
download | gcc-8e72571637a1f148628617d7eaa3b45809af247d.zip gcc-8e72571637a1f148628617d7eaa3b45809af247d.tar.gz gcc-8e72571637a1f148628617d7eaa3b45809af247d.tar.bz2 |
stl_list.h (_M_resize_pos(size_type&)): Declare.
* include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
(operator==(const list&, const list&)): If size() is O(1) compare
sizes before comparing each element.
* include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
(list::resize): Use _M_resize_pos.
From-SVN: r223416
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions