Lines Matching refs:lhs

61 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
63 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
65 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
67 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
69 bool operator<=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
71 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
87 friend bool operator==<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
89 friend bool operator!=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
91 friend bool operator>=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
93 friend bool operator><Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
95 friend bool operator<=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
97 friend bool operator< <Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
295 * @brief Checks whether the FD managed by two objects (specified by `lhs` and
299 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
306 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
308 return lhs == rhs.fd_;
312 * @brief Checks whether the FD managed by two objects (specified by `lhs` and
316 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
324 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
326 return !(lhs == rhs.fd_);
330 * @brief Checks whether the FD managed by `lhs` is greater than or equal to
334 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
337 * @return Returns `true` if the FD managed by `lhs` is greater than or equal to
342 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
344 return lhs >= rhs.fd_;
348 * @brief Checks whether the FD managed by `lhs` is greater than that
352 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
355 * @return Returns `true` if the FD managed by `lhs` is greater than that
360 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
362 return lhs > rhs.fd_;
366 * @brief Checks whether the FD managed by `lhs` is less than or equal to that
370 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
373 * @return Returns `true` if the FD managed by `lhs` is less than or equal to
378 bool operator<=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
380 return lhs <= rhs.fd_;
384 * @brief Checks whether the FD managed by `lhs` is less than that
388 * @param lhs Indicates the first `UniqueFdAddDeletor` object.
391 * @return Returns `true` if the FD managed by `lhs` is less than that
396 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
398 return lhs < rhs.fd_;