Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct empty_deleter

boost::log::empty_deleter — A function object that does nothing and can be used as an empty deleter for shared_ptr.

Synopsis

// In header: <boost/log/utility/empty_deleter.hpp>


struct empty_deleter {
  // types
  typedef void result_type;  // Function object result type. 

  // public member functions
  void operator()(const volatile void *) const;
};

Description

empty_deleter public member functions

  1. void operator()(const volatile void *) const;

    Does nothing


PrevUpHomeNext