Umut Tabak
Umut Tabak

Reputation: 1942

Unordered associative containers, best choice

Which option is the best way to use an unordered_set for an efficient look up,

I am asking because these three are mentioned in Effective STL by Scott Meyers but the book is a bit old.

Upvotes: 0

Views: 170

Answers (1)

Shep
Shep

Reputation: 8370

If you have to work with a pre-C++11 compiler, use boost:

  • it's almost everywhere,
  • it's a header library,
  • it's modular,
  • it's compliant with all the standards, so totally compatible with the standard library.

Upvotes: 2

Related Questions