For my next task, I need to use a very large hash; since I have an old compiler, I cannot use C ++ 0x std::unordered_map . Ideally, I need a reserve call to make a room in advance for a large number of items. I cannot find this method in boost::unordered_map : is there any place or function that achieve the same?
2 associative container is the same; I see the rehash function and the same constructor for controlling the number of buckets, but not the function about the number of elements.
Can you help me?
c ++ unordered-map boost-unordered
Abruzzo forte e gentile
source share