std::multimap::key_comp

std::multimap::key_comp

key_compare key_comp() const;

Returns the function object that compares the keys, which is a copy of this container's constructor argument comp.

Parameters

(none).

Return value

The key comparison function object.

Complexity

Constant.

See also

returns the function that compares keys in objects of type value_type
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/multimap/key_comp

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部