This is a component‐private class. Do not use.
Synopsis
Declared in <bdlb_nullableallocatedvalue_pointerbitspair.h>
template<
class t_TYPE,
unsigned int t_NUM_BITS>
class NullableAllocatedValue_PointerBitsPair;
Description
This regular, value‐semantic class provides a mechanism for storing a number of bit flags in the otherwise unused bits of a pointer to the template parameter class t_TYPE. The number of bits that can be stored is dependent upon the required alignment of the class t_TYPE.
Member Functions
Name |
Description |
|
Constructors |
Clear the flag specified by |
|
Return |
|
Return the held pointer. |
|
Return the value of the flag specified by |
|
Set the flag specified by |
|
Set the held pointer to the value of the specified |
|
Efficiently exchange the value of this object with the value of the specified |
Non-Member Functions
Name |
Description |
Return |
|
Return |
|
Exchange the values of the specified |
Created with MrDocs