Date: Fri, 21 Mar 2025 09:17:41 +0100
No, it is for compiler writers to mark what is not implemented, instead of doing nothing or using “delete”. See the example I gave upthread.
> On 20 Mar 2025, at 22:49, Sebastian Wittmeier via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> Or is it for optional features of the standard library? Then the standard library would have to mark its option, but not implemented features as [[unimplemented]].
> But to get rid of the warnings, the cpp file would have to include another header.
> Then the standard library could instead not declare those functions.
> And the other header could declare them.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
> On 20 Mar 2025, at 22:49, Sebastian Wittmeier via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> Or is it for optional features of the standard library? Then the standard library would have to mark its option, but not implemented features as [[unimplemented]].
> But to get rid of the warnings, the cpp file would have to include another header.
> Then the standard library could instead not declare those functions.
> And the other header could declare them.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2025-03-21 08:17:56