A Discrete-Event Network Simulator
API
ns3::DefaultDeleter< T > Struct Template Reference

A template used to delete objects by the ns3::SimpleRefCount templates when the last reference to an object they manage disappears. More...

#include "default-deleter.h"

Static Public Member Functions

static void Delete (T *object)
 The default deleter implementation, which just does a normal. More...
 

Detailed Description

template<typename T>
struct ns3::DefaultDeleter< T >

A template used to delete objects by the ns3::SimpleRefCount templates when the last reference to an object they manage disappears.

Template Parameters
T[deduced] The object type being deleted.
See also
ns3::SimpleRefCount

Definition at line 43 of file default-deleter.h.

Member Function Documentation

◆ Delete()

template<typename T >
static void ns3::DefaultDeleter< T >::Delete ( T *  object)
inlinestatic

The default deleter implementation, which just does a normal.

delete object;
Template Parameters
T[deduced] The object type being deleted.
Parameters
[in]objectThe object to delete.

Definition at line 53 of file default-deleter.h.


The documentation for this struct was generated from the following file: