Where there are difficulties associated with character sets and coding, and other such disturbances. What happens if the character set encoding differs between runtime and compilation time, what happens if there are several ways to encode the same character, does the utf-8 encoded string do something different? Do you translate to a character set at runtime or not?
There may be easy answers; but there were enough complications that the developers went βwell, we will cut itβ, and literals fell into the standard.
The characters allowed for floating point and integral literals, where they are limited, do not have this problem.
But you are related to a document related to the N2750 , and which explicitly stated:
there may be a need for a "raw" form of a string literal in which
"Hello, " L"Worl\u0044!"
differs from
L"Hello, World!"
but this interacted poorly with the translation phases and there were no convincing cases of using this function.
Yakk source share