|
BDE 4.14.0 Production release
|
#include <bdlc_compactedarray.h>
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 () | |
| Destroy this object. | |
| CompactedArray_CountedValue & | operator= (const CompactedArray_CountedValue< TYPE > &rhs) |
Public Attributes | |
| bsls::ObjectBuffer< TYPE > | d_value |
| bsl::size_t | d_count |
This struct represents a reference-counted value. Note that comparison of d_count is intentionally omitted from the free equality-comparison operators of this class.
|
inline |
Create a CompactedArray_CountedValue having the specified value and reference count. The specified basicAllocator is used to supply memory. The behavior is undefined unless 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. The behavior is undefined unless 0 != basicAllocator.
|
inline |
|
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 |