C++ Logo

sg7

Advanced search

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

From: Peter Dimov <pdimov_at_[hidden]>
Date: Tue, 16 Feb 2021 17:23:10 +0200
Andrew Sutton wrote:
> I suspect that CMake would be considerably less happy than they suggest if
> $ suddenly had meaning in C++ and they were forced to redesign their
> templating syntax.

$x or $(x) are not a problem for CMake; it uses ${x} (typically even turned
off with @ONLY) and this cannot occur in the hypothetical C++ dialect under
discussion.

Do not misinterpret this as support for $ though. :-) I don't know why we're
fixated on it; the paper suggests %x which isn't any worse, while avoiding
all these issues.

Received on 2021-02-16 09:23:19