Lines Matching refs:Deleter
64 // TODO(haining) Work with Deleter
261 template <typename T, typename Deleter>
266 explicit UniquePtrBase(T* ptr, Deleter d) : mPtr(ptr), mDeleter(d) {}
292 Deleter& get_deleter() { return mDeleter; }
293 const Deleter& get_deleter() const { return mDeleter; }
315 Deleter mDeleter;
321 template <typename T, typename Deleter = DefaultDelete<T> >
322 class unique_ptr : public workaround_internal::UniquePtrBase<T, Deleter> {
323 typedef workaround_internal::UniquePtrBase<T, Deleter> Base;
327 explicit unique_ptr(T* ptr, Deleter d) : Base(ptr, d) { }
335 template <typename T, typename Deleter>
336 class unique_ptr<T[], Deleter> : public workaround_internal::UniquePtrBase<T, Deleter> {
337 typedef workaround_internal::UniquePtrBase<T, Deleter> Base;
340 explicit unique_ptr(T* ptr, Deleter d) : Base(ptr, d) { }