Monthly Archives: April 2007

STL Lookups


  If you want fast lookups using STL, you currently have two choices:   1) Use a sorted container, like [multi]set or [multi]map and the find() member function 2) Use a non-sorted container, sort it (using std::sort() or similar function), and … Continue reading

Posted in C++ | Leave a comment