]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: module std fixes
authorJason Merrill <jason@redhat.com>
Tue, 19 Nov 2024 23:21:00 +0000 (00:21 +0100)
committerJason Merrill <jason@redhat.com>
Wed, 27 Nov 2024 13:25:23 +0000 (08:25 -0500)
commit21954a58ce408519b03e314f56204b49c5b310ba
treebdfafa77da8c9b182d602b9a310f59ec4c9d5dc9
parente7aa614d7372b5d3cbcd2400838c80ef905ba381
libstdc++: module std fixes

Some tests were failing due to the exported using declaration of iter_move
conflicting with friend declarations; the exported using needs to be in the
inline namespace, like the customization point itself, rather than
std::ranges.

Also add a few missing exports.

Some tests failed to find some operators defined in implementation-detail
namespaces; this exports them as well, but as previously discussed it's
probably preferable to make those operators friends so ADL can find them
that way.

libstdc++-v3/ChangeLog:

* src/c++23/std.cc.in: Fix iter_move/swap.  Add fold_left_first, to,
concat, and some operators.
libstdc++-v3/src/c++23/std.cc.in