Searched defs:RefPtr (Results 1 – 7 of 7) sorted by relevance
14 template <typename T> struct RefPtr { struct17 RefPtr() : t(new T) {} in RefPtr() function18 RefPtr(T *t) : t(t) {} in RefPtr() function22 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}}
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()
91 template <class T> struct RefPtr { struct92 T* p;93 ~RefPtr() { in ~RefPtr()
17 template<typename> struct RefPtr { }; struct