Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::null_deleter Struct Reference

A function object that does nothing and can be used as an empty deleter for shared_ptr. More...

#include <null_deleter.hpp>

Public Types

typedef void result_type
 Function object result type. More...
 

Public Member Functions

template<typename T >
void operator() (T *) const BOOST_NOEXCEPT
 Does nothing. More...
 

Detailed Description

A function object that does nothing and can be used as an empty deleter for shared_ptr.

Member Typedef Documentation

Function object result type.

Member Function Documentation

template<typename T >
void boost::null_deleter::operator() ( T ) const
inline

Does nothing.


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