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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to