Lines Matching defs:lhs
283 bool operator==(const scoped_refptr<T>& lhs, const U* rhs) {
284 return lhs.get() == rhs;
288 bool operator==(const T* lhs, const scoped_refptr<U>& rhs) {
289 return lhs == rhs.get();
293 bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t null) {
294 return !static_cast<bool>(lhs);
303 bool operator!=(const scoped_refptr<T>& lhs, const U* rhs) {
304 return !operator==(lhs, rhs);
308 bool operator!=(const T* lhs, const scoped_refptr<U>& rhs) {
309 return !operator==(lhs, rhs);
313 bool operator!=(const scoped_refptr<T>& lhs, std::nullptr_t null) {
314 return !operator==(lhs, null);
328 void swap(scoped_refptr<T>& lhs, scoped_refptr<T>& rhs) noexcept {
329 lhs.swap(rhs);