Lines Matching defs:bool
37 constexpr bool IsRefCountPreferenceOverridden(const T*,
44 constexpr bool IsRefCountPreferenceOverridden(
51 constexpr bool IsRefCountPreferenceOverridden(...) {
232 explicit operator bool() const { return ptr_ != nullptr; }
235 bool operator==(const scoped_refptr<U>& rhs) const {
240 bool operator!=(const scoped_refptr<U>& rhs) const {
245 bool operator<(const scoped_refptr<U>& rhs) const {
283 bool operator==(const scoped_refptr<T>& lhs, const U* rhs) {
288 bool operator==(const T* lhs, const scoped_refptr<U>& rhs) {
293 bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t null) {
294 return !static_cast<bool>(lhs);
298 bool operator==(std::nullptr_t null, const scoped_refptr<T>& rhs) {
299 return !static_cast<bool>(rhs);
303 bool operator!=(const scoped_refptr<T>& lhs, const U* rhs) {
308 bool operator!=(const T* lhs, const scoped_refptr<U>& rhs) {
313 bool operator!=(const scoped_refptr<T>& lhs, std::nullptr_t null) {
318 bool operator!=(std::nullptr_t null, const scoped_refptr<T>& rhs) {