C++ Logo

sg7

Advanced search

Re: [SG7] [isocpp-ext] P2320: "The Syntax of Static Reflection" feedback request

From: Corentin <corentin.jabot_at_[hidden]>
Date: Tue, 16 Feb 2021 01:11:39 +0100
On Tue, Feb 16, 2021, 00:47 Ville Voutilainen via Ext <ext_at_[hidden]>
wrote:

> On Tue, 16 Feb 2021 at 01:26, David Rector via SG7 <sg7_at_[hidden]>
> wrote:
> > In particular I would suggest $ as the inverse of ^; that visually says
> to me it is "cashing in” a higher-order/meta object, bringing the ^ back
> down to earth.
>
> $ is not up for grabs for C++. This has been discussed in SG7 and
> elsewhere before, but for the purposes of this discussion,
> suffice it to say that there are existing tools that rely on $ not
> being C++, and those tools can do balanced-token parsing
> of C++ source code, without parsing C++, because they know that $ isn't
> C++..
>

I don't know if that's as clear cut.
Standard adoption is slow, if we decided that $ is the best solution, it
would be a medium term inconvenience for a small number of users.
Which i understand would be a tough pill to swallow but, i suspect the
conversation will have to be had at some point. If not for reflection, for
the next feature which needs some syntactic space.

_______________________________________________
> Ext mailing list
> Ext_at_[hidden]
> Subscription: https://lists.isocpp.org/mailman/listinfo.cgi/ext
> Link to this post: http://lists.isocpp.org/ext/2021/02/15888.php
>

Received on 2021-02-15 18:11:53