lundi 27 décembre 2021

what is this + before u8 string literal prefix for?

when I was reading codecvt example in cppref, I noticed this line:

std::string data = reinterpret_cast<const char*>(+u8"z\u00df\u6c34\U0001f34c");

Any idea what is that + before u8 for? Because I removed it and nothing changed in result.

Aucun commentaire:

Enregistrer un commentaire