Мой цикл выглядит примерно так:
Код: Выделить всё
string word = "";
string s = "pip pip pop som"
unordered_map dic;
for (char c : s) {
if ('a'
Подробнее здесь: [url]https://stackoverflow.com/questions/79077085/how-to-use-move-semantics-in-a-loop-and-avoid-copying[/url]
Мобильная версия