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 to view this page for the latest version.
PrevUpHomeNext

Delete

Lazy delete...

#include <boost/phoenix/object/delete.hpp>

Lazily delete an object, from the heap:

delete_(arg);

where arg is assumed to be a pointer to an object.

Example:

delete_<std::string>(arg1) // note the spelling of delete_ (with trailing underscore)

PrevUpHomeNext