Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcxx/docs/Status/Cxx23Issues.csv
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"`LWG3593 <https://wg21.link/LWG3593>`__","Several iterators' ``base() const &`` and ``lazy_split_view::outer-iterator::value_type::end()`` missing ``noexcept``","2021-10 (Virtual)","","",""
"`LWG3595 <https://wg21.link/LWG3595>`__","Exposition-only classes proxy and postfix-proxy for ``common_iterator`` should be fully ``constexpr``","2021-10 (Virtual)","|Complete|","14",""
"","","","","",""
"`LWG3088 <https://wg21.link/LWG3088>`__","``forward_list::merge`` behaviour unclear when passed ``*this``","2022-02 (Virtual)","","",""
"`LWG3088 <https://wg21.link/LWG3088>`__","``forward_list::merge`` behaviour unclear when passed ``*this``","2022-02 (Virtual)","|Complete|","Yes",""
"`LWG3471 <https://wg21.link/LWG3471>`__","``polymorphic_allocator::allocate`` does not satisfy ``Cpp17Allocator`` requirements","2022-02 (Virtual)","","",""
"`LWG3525 <https://wg21.link/LWG3525>`__","``uses_allocator_construction_args`` fails to handle types convertible to ``pair``","2022-02 (Virtual)","","",""
"`LWG3598 <https://wg21.link/LWG3598>`__","``system_category().default_error_condition(0)`` is underspecified","2022-02 (Virtual)","","",""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,12 @@ int main(int, char**) {
}
#endif

{ // Make sure self-merging does nothing.
int a[] = {1, 2, 3, 4, 5};
std::forward_list<int> c(std::begin(a), std::end(a));
c.merge(c);
assert(c == std::forward_list<int>(std::begin(a), std::end(a)));
}

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,12 @@ int main(int, char**) {
}
#endif

{ // Make sure self-merging does nothing.
int a[] = {5, 4, 3, 2, 1};
std::forward_list<int> c(std::begin(a), std::end(a));
c.merge(c, std::greater<int>());
assert(c == std::forward_list<int>(std::begin(a), std::end(a)));
}

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,12 @@ int main(int, char**) {
assert(c1 == c3);
}

{ // Make sure self-merging does nothing.
int a[] = {1, 2, 3, 4, 5};
std::forward_list<int> c(std::begin(a), std::end(a));
c.merge(std::move(c));
assert(c == std::forward_list<int>(std::begin(a), std::end(a)));
}

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,12 @@ int main(int, char**) {
assert(c1 == c3);
}

{ // Make sure self-merging does nothing.
int a[] = {5, 4, 3, 2, 1};
std::forward_list<int> c(std::begin(a), std::end(a));
c.merge(std::move(c), std::greater<int>());
assert(c == std::forward_list<int>(std::begin(a), std::end(a)));
}

return 0;
}