Lines Matching refs:rhs
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);
169 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
171 UniqueFdAddDeletor(UniqueFdAddDeletor&& rhs)
173 int rhsfd = rhs.Release();
181 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
185 * the FD originally managed by `rhs`.
187 UniqueFdAddDeletor& operator=(UniqueFdAddDeletor&& rhs)
189 int rhsfd = rhs.Release();
198 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
203 bool operator==(const int& rhs) const
205 return fd_ == rhs;
212 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
217 bool operator!=(const int& rhs) const
219 return !(fd_ == rhs);
226 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
231 bool operator>=(const int& rhs) const
233 return fd_ >= rhs;
240 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
245 bool operator>(const int& rhs) const
247 return fd_ > rhs;
254 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
259 bool operator<=(const int& rhs) const
261 return fd_ <= rhs;
268 * @param rhs Indicates the source `UniqueFdAddDeletor` object.
273 bool operator<(const int& rhs) const
275 return fd_ < rhs;
290 UniqueFdAddDeletor(const UniqueFdAddDeletor& rhs) = delete;
291 UniqueFdAddDeletor& operator=(const UniqueFdAddDeletor& rhs) = delete;
296 * `rhs` respectively) are equal.
300 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
306 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
308 return lhs == rhs.fd_;
313 * `rhs` respectively) are not equal.
317 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
324 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
326 return !(lhs == rhs.fd_);
331 * that managed by `rhs`.
335 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
338 * that managed by `rhs`; returns `false` otherwise.
342 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
344 return lhs >= rhs.fd_;
349 * managed by `rhs`.
353 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
356 * managed by `rhs`; returns `false` otherwise.
360 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
362 return lhs > rhs.fd_;
367 * managed by `rhs`.
371 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
374 * that managed by `rhs`; returns `false` otherwise.
378 bool operator<=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
380 return lhs <= rhs.fd_;
385 * managed by `rhs`.
389 * @param rhs Indicates the second `UniqueFdAddDeletor` object.
392 * managed by `rhs`; returns `false` otherwise.
396 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
398 return lhs < rhs.fd_;