[PATCH] libstdc++: Fix comparison operators in elements and chunk views
Waffl3x
waffl3x@protonmail.com
Fri Dec 4 02:15:36 GMT 2026
I also eyeballed the rest of the views that conditionally use
operator<=>, the rest seem fine. I suspect the test case I added is not
satisfactory. In particular, it is not enabled for C++20 mode but I did
not feel like making 2 different cases when I don't know where they
should be placed.
I specifically made a dummy iterator to disable the views iterator's
operator<=>. At a glance, it seems like the iterators in
testsuite_iterators.h might be suitable for that purpose. However, I
wasn't sure and wanted a testcase I can be sure tests what I needed it
to test for now. If preferred, I'll fix the testcase to use
testsuite_iterators.h instead.
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-Fix-comparison-operators-in-elements-and-chu.patch
Type: text/x-patch
Size: 6352 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20261204/b3075cd3/attachment-0001.bin>
More information about the Libstdc++
mailing list