Closed vswdigitall closed 11 months ago
Depends on the data-structure you use for std::map's template parameter - could your data be moved and emplaced?
It is std::map< size_t, int32_t >.
Should be no problem for such basic data types.
std::pair int int works. Thank you.
std::pair
instead of std::map
- have you found problems with std::map
so that you redesigned your data structure?
Yes, redesigned. My mistake.
No worries. Feel free to close this Github issue if no more questions, see "https://docs.github.com/en/issues/tracking-your-work-with-issues/closing-an-issue".
Hi, can i emplace/push std::map object?