Namespaces
Variants
Actions

std::map<Key,T,Compare,Allocator>::key_comp

From cppreference.com
< cpp‎ | container‎ | map
 
 
 
 
key_compare key_comp() const;
(constexpr since C++26)

Returns the function object that compares the keys, which is a copy of the key comparison object used by *this.

Contents