Created on 2012-01-15.00:00:00 last changed 130 months ago
Proposed resolution:
This wording is relative to the FDIS.
Add a new paragraph after [forwardlist.ops] p19 as indicated:
void merge(forward_list<T,Allocator>& x); void merge(forward_list<T,Allocator>&& x); template <class Compare> void merge(forward_list<T,Allocator>& x, Compare comp); template <class Compare> void merge(forward_list<T,Allocator>&& x, Compare comp);[…]
-19- Effects: […] -?- Remarks: The behavior is undefined if this->get_allocator() != x.get_allocator().
[ 2012, Portland: applied to WP ]
[ 2012, Kona ]
Move to Ready.
Sub-clause [list.ops], p24 states for lists:
The behavior is undefined if this->get_allocator() != x.get_allocator().
But there is nothing like that for forward lists in [forwardlist.ops], although I would expect the same undefined behavior there.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-02-20 13:20:35 | admin | set | status: wp -> c++14 |
2012-11-03 04:16:46 | admin | set | messages: + msg6273 |
2012-10-25 12:46:45 | admin | set | status: voting -> wp |
2012-10-16 15:35:12 | admin | set | status: ready -> voting |
2012-02-12 18:36:43 | admin | set | messages: + msg6007 |
2012-02-12 18:36:43 | admin | set | status: new -> ready |
2012-01-15 21:53:04 | admin | set | messages: + msg5979 |
2012-01-15 00:00:00 | admin | create |