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::equal_range Reference
<unordered_map>
unordered_map
public member function
<unordered_map>
std::unordered_map::equal_rangepair<iterator,iterator> equal_range ( const key_type& k );pair<const_iterator,const_iterator> equal_range ( const key_type& k ) const; Get range of elements with specific key
If k does not match any key in the container, the range returned has end as both its lower and upper range bounds. Parameters
Return valueThe function returns a pair, where its member pair::first is an iterator to the lower bound of the range, and pair::second is an iterator to its upper bound. The elements in the range are those between these two iterators, including pair::first, but not pair::second.Member types iterator and const_iterator are forward iterator types. ExampleSee unordered_multimap::equal_range.ComplexityAverage case: constant.Worst case: linear in container size. 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. |