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::key_eq Reference
<unordered_map>
unordered_map
public member type
<unordered_map>
std::unordered_map::key_eqkey_equal key_eq() const; Get key equivalence predicate
The key equivalence comparison is a predicate that takes two arguments of the key type and returns a bool value indicating whether they are to be considered equivalent. It is adopted by the container on construction (see unordered_map's constructor for more info). By default, it is equal_to<key_type>, which returns the same as applying the equal-to operator (==) to the arguments. ParametersnoneReturn ValueThe key equality comparison object.Member type key_equal is the type of the key equality comparison predicate used by the container, defined in unordered_map as an alias of its fourth template parameter (Pred). Example
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. |