|
BDE 4.39.x Production Release
|
#include <bdlc_compactedarray.h>
This struct represents a reference-counted value.
d_count is intentionally omitted from the free equality-comparison operators of this class.Public Member Functions | |
| CompactedArray_CountedValue (const TYPE &value, bsl::size_t count, bslma::Allocator *basicAllocator) | |
| CompactedArray_CountedValue (const CompactedArray_CountedValue< TYPE > &original, bslma::Allocator *basicAllocator) | |
| ~CompactedArray_CountedValue () | |
| CompactedArray_CountedValue & | operator= (const CompactedArray_CountedValue< TYPE > &rhs) |
Public Attributes | |
| bsls::ObjectBuffer< TYPE > | d_value |
| bsl::size_t | d_count |
|
inline |
Create a CompactedArray_CountedValue having the specified value and reference count. The specified basicAllocator is used to supply memory.
0 != basicAllocator.
|
inline |
Create a CompactedArray_CountedValue having the same underlying object value and reference count as the specified original object. The specified basicAllocator is used to supply memory.
0 != basicAllocator.
|
inline |
Destroy this object.
|
inline |
Assign to this object the underlying object value and reference count of the specified rhs object, and return a reference providing modifiable access to this object.
| bsl::size_t bdlc::CompactedArray_CountedValue< TYPE >::d_count |
| bsls::ObjectBuffer<TYPE> bdlc::CompactedArray_CountedValue< TYPE >::d_value |