Last chance! 50% off unlimited learning
Sale ends in
powered by
Obtain the maximum number of buckets the container can hold.
max_bucket_count(x)
Returns a numeric.
A CppUnorderedSet, CppUnorderedMultiset, CppUnorderedMap, or CppUnorderedMultimap object.
bucket_count, load_factor, max_load_factor.
s <- cpp_unordered_set(6:10) max_bucket_count(s) # [1] 1.152922e+18
Run the code above in your browser using DataLab