This question already has an answer here:
- What is the operator “” in C++? 2 answers
I just saw a new C++ syntax like:
x = "abc"s;
From context I guessed that this means x was assigned a string "abc", I would like to know the name of this new syntax, and is there any similar syntax in C++1z?
Aucun commentaire:
Enregistrer un commentaire