Searched defs:SkAutoTDelete (Results 1 - 1 of 1) sorted by relevance

/external/skia/include/private/
H A DSkTemplates.h86 /** \class SkAutoTDelete
87 An SkAutoTDelete<T> is like a T*, except that the destructor of SkAutoTDelete<T>
88 automatically deletes the pointer it holds (if any). That is, SkAutoTDelete<T>
89 owns the T object that it points to. Like a T*, an SkAutoTDelete<T> may hold
90 either NULL or a pointer to a T object. Also like T*, SkAutoTDelete<T> is
94 The size of a SkAutoTDelete is small: sizeof(SkAutoTDelete<T>) == sizeof(T*)
96 template <typename T> class SkAutoTDelete : public skstd::unique_ptr<T> { class in inherits:skstd::unique_ptr
98 SkAutoTDelete( function in class:SkAutoTDelete
[all...]

Completed in 99 milliseconds