How to create map/unordered_map that will use const char* as key directly?
If I use map<std::string,..>, then on each resolving map["abc"] = ... a new std::string object will be created. That causes a big overhead for allocating memory, creating a string object and copying the string into it.
How do I declare a map object that uses const char* directly without any overhead?