Impossible to have escape sequence in raw string literal?

I was wondering if the is a way to have an escape sequence in a string literal like \0xa or something of that sort....

 
R"(\0heonddwnd)"
Wouldn't that defeat the purpose of it being a raw string?
https://imgs.xkcd.com/comics/backslashes.png
Nope. You could say
"\0" R"eos(heonddwnd)eos"
Relying on the fact that adjacent string literals are concatenated after preprocessing and before compilation.
@Ganado yes, yes it would. XD idk, just curious.

@mbozzi hm. I thought that only happens in macros. huh.


thanks yall!
Topic archived. No new replies allowed.