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

Detailed Description

Outline

Purpose

Provide a factory-based deleter for the managed pointer class.

Classes

See also
bslma_managedptr

Description

This component provides a utility struct, bslma::ManagedPtr_FactoryDeleter, used as an implementation detail by bslma::ManagedPtr to produce a type-erasing deleter function that destroys an object of (template parameter) OBJECT_TYPE, using a factory of (template parameter) FACTORY type that provides a deleteObject method.