C++ Logo


Advanced search

Re: Introducing abbreviated anonymous struct

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Thu, 1 Jul 2021 11:21:54 -0400
On Thu, Jul 1, 2021 at 9:47 AM Mohit Saini via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> It looks like a very immature proposal.
> Would be good to first have a good enough understanding of current C++ standard - https://eel.is/c++draft/
> Also, any proposal starts with the problem you are facing with the current system (C++ Language in this case).
> Also, your proposal should describe a scenario which is impossible (or hard) to implement with existing C++ but easy to implement with your new syntax.
> Your new syntax adds zero value in C++ and it has significant overhead in syntax.

It should also be noted that in a post-modules C++ world, hiding names
is easier than ever. Whether we'll get to such a world remains to be
seen, but the capability is there nevertheless.

Received on 2021-07-01 10:22:06