C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Attribute [[discard]] and attributes on expressions

From: Ferhat Geçdoğan <ferhatgectao_at_[hidden]>
Date: Fri, 6 Oct 2023 12:30:27 +0300
I don't think we need something like [[discard]]. Is there any useful
use-case that makes [[discard]] unique? That's just a way of adding one
more unuseful C++ keyword to the list in my opinion.

5 Eki 2023 Per 23:03 tarihinde Giuseppe D'Angelo via Std-Proposals <
std-proposals_at_[hidden]> şunu yazdı:

> Hello,
>
> Hoping that EWGI will reconvene in Kona, I have prepared a proposal to
> allow attributes on expressions, and also proposes the [[discard]]
> attribute. It is a draft ... of a draft -- there's still some design
> work to be done, possibly with EWG(I) help.
>
> https://isocpp.org/files/papers/D2992R0.html
>
> As usual, any early feedback is very much appreciated.
>
> --
> Giuseppe D'Angelo
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2023-10-06 09:30:41