Skip to content

Commit 98c430e

Browse files
author
Dawn Perchik
committed
LWG2585 forward_list::resize(size_type, const value_type&) effects incorrect
1 parent 2775657 commit 98c430e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/containers.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3703,9 +3703,7 @@
37033703
\pnum
37043704
\effects If \tcode{sz < distance(begin(), end())}, erases the last \tcode{distance(begin(),
37053705
end()) - sz} elements from the list. Otherwise, inserts \tcode{sz - distance(begin(), end())}
3706-
elements at the end of the list such that each new element, \tcode{e}, is initialized
3707-
by a method equivalent to calling
3708-
\tcode{allocator_traits<allocator_type>::construct(get_allocator(), std::addressof(e), c)}.
3706+
copies of \tcode{c} at the end of the list.
37093707

37103708
\pnum
37113709
\requires \tcode{T} shall be \tcode{CopyInsertable} into \tcode{*this}.

0 commit comments

Comments
 (0)