template class Poco::ReleasePolicy

Overview

The default release policy for SharedPtr, which simply uses the delete operator to delete an object. Moreā€¦

#include <SharedPtr.h>

template <class C>
class ReleasePolicy
{
public:
    // methods

    static
    void
    release(C* pObj);
};

Detailed Documentation

The default release policy for SharedPtr, which simply uses the delete operator to delete an object.

Methods

static
void
release(C* pObj)

Delete the object.

Note that pObj can be 0.