C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] C and C++ Compatibility Aug Agenda

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Tue, 9 Aug 2022 22:00:27 +0200
On 09/08/2022 17.00, Aaron Ballman via Liaison wrote:
> Our next meeting will be on Mon Aug 15, 2022 at 15:00 UTC
> (https://www.timeanddate.com/worldclock/converter.html?iso=20220815T150000&p1=tz_pt&p2=tz_mt&p3=tz_ct&p4=tz_et&p5=1440).
>
> You can join the meeting at https://iso.zoom.us/j/5513145100


> P2320R0 (https://wg21.link/p2620r0) Lifting artificial restrictions on
> unviversal character names
> Proposes to relax a restriction that a universal character name cannot
> be used in place of a character in the basic character set, which is a
> restriction that C has but C++ does not. The author is looking for
> feedback on any concerns people have with unifying the behavior in
> both languages to match the C++ behavior.

This summary is a bit misleading.

The status quo in C++ is that UCNs that designate basic characters
are allowed in string literals, but disallowed outside of string
literals. The status quo in C is that UCNs that designate basic
characters are disallowed everywhere.

The paper, per its wording, is a C++ paper that wishes to allow
UCNs that designate basic characters even outside string literals.

This paper thus enlarges the gap between C and C++ in this area.

Jens

Received on 2022-08-09 20:00:32