| 90 | using Element = std::pair<Key, Value>; |
| 91 | |
| 92 | struct ElementComparator |
| 93 | { |
| 94 | bool operator()(Element const & r1, Element const & r2) const |
| 95 | { |
| 96 | return ((r1.first == r2.first) ? r1.second < r2.second : r1.first < r2.first); |
| 97 | } |
| 98 | bool operator()(Element const & r1, Key r2) const { return (r1.first < r2); } |
| 99 | bool operator()(Key r1, Element const & r2) const { return (r1 < r2.first); } |
| 100 | }; |
| 101 | |
| 102 | std::vector<Element> m_elements; |
| 103 | }; |
no outgoing calls
no test coverage detected