C++ Logo

std-proposals

Advanced search

Re: [std-proposals] [Draft Proposal] Required attribute syntax

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 04 May 2023 07:40:05 -0700
On Thursday, 4 May 2023 05:27:30 PDT Lauri Vasama via Std-Proposals wrote:
> That's right. My intention is not at all to try to force Microsoft's hand.
> Their hesitation to implement [[no_unique_address]] serves to demonstrate
> the problem with the ignorability of attributes, though of course there is
> no problem if attributes never affect program behaviour, but that
> particular cat is now out of the bag. I can't speak for Microsoft of
> course, but i believe they would not have the same objection to
> implementing no_unique_address if its use was ill formed in compiler
> versions or language modes where it is not supported.

Do you have any other example besides NUA?

Because if the problem is only NUA, then let's *fix* it and make it a real
keyword that cannot be ignored.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-05-04 14:40:26