CbmRoot
CbmLitMemoryManagment.h
Go to the documentation of this file.
1 #ifndef CBMLITMEMORYMANAGMENT_H_
2 #define CBMLITMEMORYMANAGMENT_H_
3 
4 
5 class DeleteObject {
6 public:
7  template<typename T>
8  void operator()(const T* ptr) const {
9  delete ptr;
10  }
11 };
12 
13 
14 #endif /*CBMLITMEMORYMANAGMENT_H_*/
DeleteObject
Definition: CbmLitMemoryManagment.h:5
DeleteObject::operator()
void operator()(const T *ptr) const
Definition: CbmLitMemoryManagment.h:8