[PATCH v2] libstdc++: add range support to std::optional (P3168)
Giuseppe D'Angelo
giuseppe.dangelo@kdab.com
Wed Jun 11 16:32:06 GMT 2025
Hello,
On 11/06/2025 14:18, Tomasz Kaminski wrote:
> It should be sufficient to move only following to formatfwd.h to declare
> disabled specialization for optional.
> I do not think that we need to move to a partial specialization of
> format_kind for ranges
[snip]
>
> You are not testing for the __cpp_lib_optional_range_support macro in
> the test file.
> And I would add a static_assert(!formattable<optional<int>>) to the tests.
All done. New version pushed to Forge:
https://forge.sourceware.org/gcc/gcc-TEST/pulls/54/files
Thanks,
--
Giuseppe D'Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4850 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250611/50907ef6/attachment-0001.p7s>
More information about the Libstdc++
mailing list