C++ Logo

sg16

Advanced search

Re: [SG16] Multiple combining characters and P1949R3: C++ Identifier Syntax using Unicode Standard Annex 31

From: jm <jm_at_[hidden]>
Date: Wed, 6 May 2020 07:40:04 +0000
De : SG16 <sg16-bounces_at_[hidden]> de la part de Corentin Jabot via SG16 <sg16_at_[hidden]>


> As such, making
> #define accent(x) > x##\uxxxx
>
> ill-formed is a course of action that I think should be entertained

Agree. I can't obviously speak for all languages using combining characters, but from my point of view
such macro makes as much sense as a capitalize macro which would transform 'identifier' to 'identifieR'.
Until there is a clear use case, I'd make it ill-formed.

Yours,

-- Jean-Marc


Received on 2020-05-06 02:43:09