FreeBSD Manual Pages
std::flat_m...alue_compare(3) C++ Standard Libarystd::flat_m...alue_compare(3) NAME std::flat_multimap::value_compare - std::flat_multimap::value_compare Synopsis class value_compare; (since C++23) std::flat_multimap::value_compare is a function object that compares objects of type std::flat_multimap::const_reference (a pair of references to the stored key/value) by comparing the first components (i.e. keys) of the passed pairs. Member objects Member name Definition the comparison function object of type comp (private) std::flat_multimap::key_compare (exposition-only member object*) Member functions constructor constructs value_compare object (private) (public member function) operator() compares two values of type value_type (public member function) std::flat_multimap<Key,T,Compare,KeyContainer,MappedCon- tainer>::value_compare::value_compare private: (exposition only*) value_compare( key_compare c ); Initializes the underlying instance of the comparator comp to c. Parameters c - a comparator to assign std::flat_multimap<Key,T,Compare,KeyContainer,MappedCon- tainer>::value_compare::operator() bool operator()( const const_reference& lhs, const const_reference& rhs ) const; Compares lhs.first and rhs.first by calling the stored comparator comp. Parameters lhs, rhs - values to compare Return value comp(lhs.first, rhs.first) Exceptions May throw implementation-defined exceptions. http://cppreference.com 2024.06.10 std::flat_m...alue_compare(3)
NAME | Synopsis | Member objects | Member functions | Parameters | Parameters | Return value | Exceptions
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::flat_multimap::value_compare&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
