Searched refs:ScopedTypeRef (Results 1 – 2 of 2) sorted by relevance
36 class ScopedTypeRef {38 ScopedTypeRef() : ptr_(Traits::InvalidValue()) {} in ScopedTypeRef() function39 explicit ScopedTypeRef(T ptr) : ptr_(ptr) {} in ScopedTypeRef() function40 ScopedTypeRef(T ptr, RetainPolicy policy) : ScopedTypeRef(ptr) { in ScopedTypeRef() function45 ScopedTypeRef(const ScopedTypeRef<T, Traits>& rhs) : ptr_(rhs.ptr_) { in ScopedTypeRef() function50 ~ScopedTypeRef() { in ~ScopedTypeRef()62 ScopedTypeRef& operator=(const T& rhs) {69 ScopedTypeRef& operator=(const ScopedTypeRef<T, Traits>& rhs) {102 internal::ScopedTypeRef<T, internal::CFTypeRefTraits<T>>;
36 using ScopedTestType = rtc::internal::ScopedTypeRef<TestTypeRef, TestTypeTraits>;