Tag Archives: hash table

Using Gcc C++ Hash Classes With Strings

So even though hash_map and hash_set aren’t a part of the C++ standard, there are still implementations included with the gcc compiler. You have to include or and a little magic to get them to work properly with std::string keys. // Example code using a hash_set with std::string keys on gcc // Example based on hash_set code from "6.7 Using … Continue reading

Posted in <code> | Tagged , , , , , , , , , | 3 Comments
<RSS Feed>