there is
multimap<pair<wstring, wstring>, wstring>. It is impossible to add an element like this:
elementsList.emplace((stream.str(), file), elementPath); It should be?
there is
multimap<pair<wstring, wstring>, wstring>. It is impossible to add an element like this:
elementsList.emplace((stream.str(), file), elementPath); It should be?
Well, at least, you can:
elementsList.emplace(make_pair(stream.str(),file),elementPath); Since there is no emplace for a pair , hardly anything better can be done ...
Поскольку для pair нет emplace - what do you mean by that? - αλεχολυτemplace or its equivalent for pair , one would hope that the emplace for multimap would call it for the specified arguments? Or could it be called directly to place it instead of creating an object? - HarrySource: https://ru.stackoverflow.com/questions/598059/
All Articles