A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
default-deleter.h
1 #ifndef DEFAULT_DELETER_H
2 #define DEFAULT_DELETER_H
3 
4 namespace ns3 {
5 
14 template <typename T>
16 {
17  inline static void Delete (T *object) {
18  delete object;
19  }
20 };
21 
22 } // namespace ns3
23 
24 #endif /* DEFAULT_DELETER_H */
a template used to delete objects by the *RefCount<> templates when the last reference to an object t...