stl_list.h
61.9 KB
-
stl_list.h (_M_resize_pos(size_type&)): Declare. · 8e725716
* 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
Jonathan Wakely committed