I have a Unicode string literal, let's say like this.
const char8_t x[] = u8"aaa\nbbb©\nccc\n";
I would like to split it over multiple lines for readability.
Which of the notations below are correct and equivalent to the one above?
const char8_t x[] =
u8"aaa\n"
u8"bbb©\n"
u8"ccc\n";
const char8_t x[] =
u8"aaa\n"
"bbb©\n"
"ccc\n";
const char8_t x[] =
"aaa\n"
u8"bbb©\n"
"ccc\n";
All seem to compile but I'm afraid some of them may be implementation-defined.