C++ Logo

sg7

Advanced search

Re: [isocpp-sg7] Fwd: P0707

From: Peter Dimov <pdimov_at_[hidden]>
Date: Tue, 22 Oct 2024 19:29:30 +0300
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.

Received on 2024-10-22 16:29:34