Title
forwardlist missing allocator constructors
Status
c++11
Section
[forward.list]
Submitter
Daniel Krügler

Created on 2009-12-12.00:00:00 last changed 154 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [forwardlist]/3, class template forward_list synopsis change as indicated:

forward_list(const forward_list<T,Allocator>& x);
forward_list(forward_list<T,Allocator>&& x);
forward_list(const forward_list&, const Allocator&);
forward_list(forward_list&&, const Allocator&);
Date: 2010-01-14.00:00:00

[ 2010-01-14 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]

Date: 2009-12-12.00:00:00

I found that forward_list has only

forward_list(const forward_list<T,Allocator>& x);
forward_list(forward_list<T,Allocator>&& x);

but misses

forward_list(const forward_list& x, const Allocator&);
forward_list(forward_list&& x, const Allocator&);

Note to other reviewers: I also checked the container adaptors for similar inconsistencies, but as far as I can see these are already handled by the current active issues 1194 and 1199.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg1409
2010-10-21 18:28:33adminsetmessages: + msg1408
2009-12-12 00:00:00admincreate