need help i created a map of unique_ptr std::map<std::unique_ptr<class
need help
i created a map of unique_ptr
std::map, std::unique_ptr>
now while iterating
for( auto& [key, val] : mymap)
key is const std::unique_ptr
and val is std::unique_ptr
i don't know its the right way of doing this, i need key as non const ptr