std::map<Key,T,Compare,Allocator>::key_comp_C++中文网

C++ 参考手册

key_compare key_comp() const;

返回用于比较关键的函数对象,它是此容器构造函数参数 comp 的副本。

参数

(无)

返回值

比较关键的函数对象。

复杂度

常数

参阅