Quick Links:

bal | bbl | bdl | bsl

Namespaces

Component bslma_managedptr_members
[Package bslma]

Provide the internal state of a managed pointer class. More...

Namespaces

namespace  bslma

Detailed Description

Outline
Purpose:
Provide the internal state of a managed pointer class.
Classes:
bslma::ManagedPtr_Members internal state of a bslma::ManagedPtr object
See also:
Component bslma_managedptr
Description:
This component provides a class, bslma::ManagedPtr_Members, to store and manage the internal state of a bslma::ManagedPtr object. It enforces the rules for correct transfer of ownership from one bslma::ManagedPtr object to another. A bslma::ManagedPtr_Members object has two attributes:
  • pointer - address of the object being managed, or an alias to the object
  • deleter - address of a function used to destroy the managed object