lundi 29 juin 2015

What is the use for buckets interface in std::unordered_map?

I've been watching this video from CppCon 2014 and discovered that there is an interface to access buckets underneath std::unordered_map. Now I have a couple of questions:

  • Are there any reasonable examples of the usage of this interface?
  • Why did the committee decide to define this interface, why typical STL container interface wasn't enough?

Aucun commentaire:

Enregistrer un commentaire