Struct faiss::ScopeDeleter1

template<class T>
struct ScopeDeleter1

same but deletes with the simple delete (least common case)

Public Functions

inline explicit ScopeDeleter1(const T *ptr = nullptr)
inline void release()
inline void set(const T *ptr_in)
inline void swap(ScopeDeleter1<T> &other)
inline ~ScopeDeleter1()

Public Members

const T *ptr