Searched defs:DefaultDeleter (Results 1 – 2 of 2) sorted by relevance
103 struct DefaultDeleter { struct104 DefaultDeleter() {} in DefaultDeleter() function105 template <typename U> DefaultDeleter(const DefaultDeleter<U>& other) { in DefaultDeleter() function129 // Specialization of DefaultDeleter for array types. argument
57 template<typename T> struct DefaultDeleter struct59 inline DefaultDeleter (void) {} in DefaultDeleter() function60 template<typename U> inline DefaultDeleter (const DefaultDeleter<U>&) {} in DefaultDeleter() argument61 …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 ()()