This class implements a smart‐pointer‐like resource manager for a Datum object.
Synopsis
Declared in <bdld_manageddatum.h>
class ManagedDatum;
Type Aliases
Name |
Description |
Alias for the allocator type used by this class. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object and release all dynamically allocated memory managed by this object. |
Assignment operators |
|
Take ownership of the specified |
|
Return |
|
Assign to this object the specified |
|
Return a |
|
Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
Make the |
|
Return a |
|
Return an address providing non‐modifiable access to the |
|
Format this object to the specified output |
|
Return, by value, the |
|
Efficiently exchange the value of this object with the value of the specified |
|
|
'ManagedDatum' objects are allocator‐aware and bitwise movable. |
Non-Member Functions
Name |
Description |
Return |
|
Return |
|
Exchange the values of the specified |
Created with MrDocs