Reference-counted stored value used by CompactedArray.
Declared in <bdlc_compactedarray.h>
template<class TYPE>
struct CompactedArray_CountedValue;
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.
| Name | Description |
|---|---|
CompactedArray_CountedValue [constructor] | Constructors |
~CompactedArray_CountedValue [destructor] | Destroy this object. |
operator= | Assign to this object the value and reference count of rhs. |
| Name | Description |
|---|---|
d_count | Reference count of the stored object. |
d_value | Footprint of the stored object value. |
| Name | Description |
|---|---|
operator!= | Return true if the values stored in lhs and rhs differ. |
operator< | Return true if the value stored in lhs is less than rhs. |
operator== | Return true if the values stored in lhs and rhs are equal. |