C++ Logo


Advanced search

[ub] Fixing the specification of universal-character-names

From: David Krauss <david_work_at_[hidden]>
Date: Sun, 29 Dec 2013 17:55:10 +0800
I've drafted a proposal to replace undefined behavior of special cases
of UCNs with conditional support of more general concepts. This is
intended to supersede the recommendation in N3801 that specified
undefined behavior be changed to required diagnosis. The motivations are
essentially that there are many ill-specified behaviors that would be
unaffected by changing the specified cases, and that required diagnosis
requires excessive implementation, where no further implementation
should be required (following the principle of "standardize existing

It also incorporates other fixes, and should resolve all UCN-related
active DRs except for CWG DR 411 which does not seem substantive. This
link updates the one recently posted to the std-proposals list:


Another paper covering other instances of undefined behavior and holes
in the preprocessor specification will hopefully follow soon.

Received on 2013-12-29 11:55:35