Lines Matching full:compare
127 * @tparam Compare - The function object type being adapted.
129 template <typename Compare>
136 explicit CompareFirst(Compare&& c) : compare(std::forward<Compare>(c)) {} in CompareFirst()
138 /** @brief Compare two pairs adapter.
154 return compare(l.first, r.first); in operator ()()
157 /** @brief Compare one pair adapter.
171 return compare(l.first, r); in operator ()()
174 /** @brief Compare one pair adapter.
188 return compare(l, r.first); in operator ()()
192 Compare compare; member
196 template <typename Compare>
197 CompareFirst<Compare> compareFirst(Compare&& c) in compareFirst()
199 return CompareFirst<Compare>(std::forward<Compare>(c)); in compareFirst()
203 * @brief Compare two strings after removing an optional prefix.