BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma_managedptrdeleter

Detailed Description

Outline

Purpose

Provide an in-core value-semantic class to call a delete function.

Classes

See also
bslma_managedptr

Description

This component provides a single, complex-constrained in-core value-semantic attribute class, bslma::ManagedPtrDeleter, that is used to store a bound function call for a "factory" to destroy an object.

Attributes

Name Type Default
---------------- ------------------------ -------
object void * 0
factory void * 0
deleter void (*)(void *, void *) 0
Complex Constraints
------------------------------------------------------------------
'0 == deleter' or 'deleter(object, factory)' has defined behavior.