This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++14 status.
Section: 126.96.36.199 [forwardlist.ops] Status: C++14 Submitter: Nicolai Josuttis Opened: 2012-01-15 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [forwardlist.ops].
View all issues with C++14 status.
Sub-clause 188.8.131.52 [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 184.108.40.206 [forwardlist.ops], although I would expect the same undefined behavior there.
Move to Ready.
[2012, Portland: applied to WP]
This wording is relative to the FDIS.
Add a new paragraph after 220.127.116.11 [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: […]