( persicsb | 2021. 07. 29., cs – 16:31 )

C++11-ben javították volna?

Nem hiszem:
https://timsong-cpp.github.io/cppwp/n3337/lex.charset

If the hexadecimal value for a universal-character-name corresponds to a surrogate code point (in the range 0xD800–0xDFFF, inclusive), the program is ill-formed. Additionally, if the hexadecimal value for a universal-character-name outside the c-char-sequences-char-sequence, or r-char-sequence of a character or string literal corresponds to a control character (in either of the ranges 0x00–0x1F or 0x7F–0x9F, both inclusive) or to a character in the basic source character set, the program is ill-formed.