Lines Matching defs:lhs
306 friend bool operator==(const flat_tree& lhs, const flat_tree& rhs) {
307 return lhs.impl_.body_ == rhs.impl_.body_;
310 friend bool operator!=(const flat_tree& lhs, const flat_tree& rhs) {
311 return !(lhs == rhs);
314 friend bool operator<(const flat_tree& lhs, const flat_tree& rhs) {
315 return lhs.impl_.body_ < rhs.impl_.body_;
318 friend bool operator>(const flat_tree& lhs, const flat_tree& rhs) {
319 return rhs < lhs;
322 friend bool operator>=(const flat_tree& lhs, const flat_tree& rhs) {
323 return !(lhs < rhs);
326 friend bool operator<=(const flat_tree& lhs, const flat_tree& rhs) {
327 return !(lhs > rhs);
330 friend void swap(flat_tree& lhs, flat_tree& rhs) noexcept { lhs.swap(rhs); }
361 bool operator()(const T& lhs, const U& rhs) const {
362 return key_comp_(extract_if_value_type(lhs), extract_if_value_type(rhs));
453 auto comparator = [this](const value_type& lhs, const value_type& rhs) {
454 // lhs is already <= rhs due to sort, therefore
455 // !(lhs < rhs) <=> lhs == rhs.
456 return !impl_.get_value_comp()(lhs, rhs);