RSC  0.17.1
rsc::misc::NullDeleter Class Reference

A deleter object that can be used with boost::shared_ptr that doesn't release any memory. More...

#include <langutils.h>

Collaboration diagram for rsc::misc::NullDeleter:
Collaboration graph

Public Member Functions

void operator() (void *ignored) const
 Does nothing. More...
 

Detailed Description

A deleter object that can be used with boost::shared_ptr that doesn't release any memory.

This may be useful if you need to transfer a variable that is allocated on the stack into a boost::shared_ptr to fulfill the interface requirements.

Author
jwienke

Definition at line 49 of file langutils.h.

Member Function Documentation

void rsc::misc::NullDeleter::operator() ( void *  ignored) const

Does nothing.

Parameters
ignoredignored

Definition at line 44 of file langutils.cpp.


The documentation for this class was generated from the following files: