CleanupSentry.h
Go to the documentation of this file.
1 #ifndef _FdLightCollectionEfficiency_CleanupSentry_h_
2 #define _FdLightCollectionEfficiency_CleanupSentry_h_
3 
4 namespace FdLightCollectionEfficiencyKG {
5 
6  template<class T>
7  class CleanupSentry {
8  public:
9  CleanupSentry(T* client) : fCleanup(client) {}
10  ~CleanupSentry() { delete fCleanup; }
11  private:
13  };
14  }
15 #endif
16 
17 // Configure (x)emacs for this file ...
18 // Local Variables:
19 // mode: c++
20 // End:
21 

, generated on Tue Sep 26 2023.