Searched defs:RefPtr (Results 1 – 13 of 13) sorted by relevance
14 template <typename T> struct RefPtr { struct17 RefPtr() : t(new T) {} in RefPtr() function18 RefPtr(T *t) : t(t) {} in RefPtr() argument22 RefPtr &operator=(T *) { return *this; } argument
38 union RefPtr { union
47 struct RefPtr { struct52 intrefptr;57 intrefptr2;62 refptr0;66 refptr1;73 refptr2; // expected-note {{in instantiation}}
33 RefPtr(T* ptr) : ptr_(ptr) {} // NOLINT in RefPtr() function34 RefPtr(const RefPtr& other) : ptr_(other.ptr_) { Acquire(ptr_); } in RefPtr() function35 RefPtr(RefPtr&& other) : ptr_(other.ptr_) { other.ptr_ = nullptr; } in RefPtr() function
133 struct RefPtr { struct134 T *m_ptr;135 ~RefPtr() { m_ptr->deref(); } in ~RefPtr()156 struct RefPtr { struct168 …) {} // expected-note {{in instantiation of member function 'vtable_uses_incomplete::RefPtr<vtable… in UsesVTable()
3 template<typename T> struct RefPtr { struct4 …RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a… in operator =() argument
179 struct RefPtr { struct180 T *m_ptr;181 ~RefPtr() { m_ptr->deref(); } in ~RefPtr()202 struct RefPtr { struct214 …) {} // expected-note {{in instantiation of member function 'vtable_uses_incomplete::RefPtr<vtable… in UsesVTable()
86 template <class T> struct RefPtr { struct87 T* p;88 ~RefPtr() { in ~RefPtr()
91 template <class T> struct RefPtr { struct92 T* p;93 ~RefPtr() { in ~RefPtr()
17 template<typename> struct RefPtr { }; struct