2003-01-11 19:17:13 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
2002-11-03 10:38:14 +00:00
|
|
|
#ifndef __assassin_hh
|
|
|
|
#define __assassin_hh
|
|
|
|
|
|
|
|
namespace otk {
|
|
|
|
|
|
|
|
struct PointerAssassin {
|
|
|
|
template<typename T>
|
|
|
|
inline void operator()(const T ptr) const {
|
|
|
|
delete ptr;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __assassin_hh
|