C++ Logo

sg7

Advanced search

Re: [isocpp-sg7] P0707

From: Daveed Vandevoorde <daveed_at_[hidden]>
Date: Tue, 22 Oct 2024 12:35:19 -0400
> On Oct 22, 2024, at 12:29 PM, Peter Dimov via SG7 <sg7_at_[hidden]> wrote:
>
> Herb Sutter wrote:
>> Thanks Bengt,
>>
>> Yes, the syntax in current P0707 is mainly just to be following what SG7 last
>> directed. Example:
>>
>> // Current P0707, per SG7’s last direction
>>
>> class(interface) IFoo { … };
>>
>> But now that we have @, I agree with Bengt that
>>
>> @interface class IFoo { … };
>>
>> is both [...]
>
> FWIW, I like the `class(things...)` syntax. It doesn't require innovation,
> is straightforward, and free of obstacles.
>

Very much agreed.

 Daveed


Received on 2024-10-22 16:35:32