Searched defs:DefaultDeleter (Results 1 – 2 of 2) sorted by relevance
103 struct DefaultDeleter { struct104 DefaultDeleter() {} in DefaultDeleter() argument105 template <typename U> DefaultDeleter(const DefaultDeleter<U>& other) { in DefaultDeleter() argument129 // Specialization of DefaultDeleter for array types. argument
57 template<typename T> struct DefaultDeleter struct59 inline DefaultDeleter (void) {} in DefaultDeleter() argument60 template<typename U> inline DefaultDeleter (const DefaultDeleter<U>&) {} in DefaultDeleter() function61 …mplate<typename U> inline DefaultDeleter<T>& operator= (const DefaultDeleter<U>&) { return *this; } in operator =()62 inline void operator() (T* ptr) const { delete ptr; } in operator ()()