GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing cplusplus.com — std::unordered_map::bucket Reference
<unordered_map>
unordered_map
public member function
<unordered_map>
std::unordered_map::bucketsize_type bucket ( const key_type& k ) const; Locate element's bucket
A bucket is a slot in the container's internal hash table to which elements are assigned based on the hash value of their key. Buckets are numbered from 0 to (bucket_count-1). Individual elements in a bucket can be accessed by means of the range iterators returned by unordered_map::begin and unordered_map::end. Parameters
Return valueThe order number of the bucket corresponding to k.Member type size_type is an unsigned integral type. Example
Possible output:
ComplexityConstant.Iterator validityNo changes.See also
Home page | Privacy policy
© cplusplus.com, 2000-2026 - All rights reserved - v3.3.4s Spotted an error? contact us | |||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |