std::set::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. It is the same as value_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)
doc_CPP
2016-10-11 10:06:26
Comments
Leave a Comment

Please login to continue.