Lines Matching refs:Deleter
124 template<typename T, class Deleter = DefaultDeleter<T> >
125 class MovePtr : public UniqueBase<T, Deleter>
128 MovePtr (void) : UniqueBase<T, Deleter> (DE_NULL, Deleter()) {} in MovePtr()
129 …explicit MovePtr (T* ptr, Deleter deleter = Deleter()) : UniqueBase<T, Deleter> (ptr, deleter) … in MovePtr()
130 MovePtr (MovePtr<T, Deleter>& other) : UniqueBase<T, Deleter> (other.releaseData()) {} in MovePtr()
132 MovePtr& operator= (MovePtr<T, Deleter>& other);
140 MovePtr (PtrData<T, Deleter> data) : UniqueBase<T, Deleter> (data) {} in MovePtr()
141 MovePtr& operator= (PtrData<T, Deleter> data);
200 template<typename T, class Deleter = DefaultDeleter<T> >
201 class UniquePtr : public UniqueBase<T, Deleter>
204 explicit UniquePtr (T* ptr, Deleter deleter = Deleter());
205 UniquePtr (PtrData<T, Deleter> data);
206 MovePtr<T, Deleter> move (void);
219 template<typename T, class Deleter>
220 inline UniquePtr<T, Deleter>::UniquePtr (T* ptr, Deleter deleter) in UniquePtr()
221 : UniqueBase<T, Deleter> (ptr, deleter) in UniquePtr()
225 template<typename T, class Deleter>
226 inline UniquePtr<T, Deleter>::UniquePtr (PtrData<T, Deleter> data) in UniquePtr()
227 : UniqueBase<T, Deleter> (data) in UniquePtr()
237 template<typename T, class Deleter>
238 inline MovePtr<T, Deleter> UniquePtr<T, Deleter>::move (void) in move()
240 return MovePtr<T, Deleter>(this->releaseData()); in move()