Searched defs:smart_ptr (Results 1 – 14 of 14) sorted by relevance
9 struct smart_ptr { struct10 smart_ptr() : pointer(nullptr) {} in smart_ptr() argument12 explicit smart_ptr(T *&p) : pointer(p) { in smart_ptr() function18 smart_ptr(smart_ptr const &rhs) : pointer(rhs.pointer) { in smart_ptr() function34 ~smart_ptr() { in ~smart_ptr() argument41 smart_ptr().swap(*this); in reset() argument63 swap(smart_ptr &p) { in swap() argument70 _retain(T *obj) { in _retain()75 _release(T *obj) { in _release()80 _alloc() { in _alloc()[all …]
14 struct smart_ptr { struct15 int x;16 S *s;18 S *get() { in get()
75 struct smart_ptr { struct87 void test_smart_ptr(smart_ptr<int> p) { in test_smart_ptr() argument
12 struct smart_ptr { struct
15 struct smart_ptr { struct
36 struct smart_ptr { struct
214 namespace smart_ptr { namespace
1433 class smart_ptr { class
196 namespace smart_ptr { namespace
1383 class smart_ptr { class
89 TEST_SUBMODULE(smart_ptr, m) { in TEST_SUBMODULE() argument