[#BloombergLP-bdlc-CompactedArray_CountedValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::CompactedArray_CountedValue :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> struct CompactedArray_CountedValue; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/CompactedArray_CountedValue/2constructor-00.adoc[`CompactedArray_CountedValue`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlc/CompactedArray_CountedValue/2destructor.adoc[`~CompactedArray_CountedValue`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bdlc/CompactedArray_CountedValue/operator_assign.adoc[`operator=`] | 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. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/CompactedArray_CountedValue/d_count.adoc[`d_count`] | Reference count of the stored object. | xref:BloombergLP/bdlc/CompactedArray_CountedValue/d_value.adoc[`d_value`] | Footprint of the stored object value. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/operator_not_eq-007.adoc[`operator!=`] | Return `true` if the underlying object value of the specified `lhs` is not the same as the underlying object value of the specified `rhs`, and `false` otherwise. Note that the reference counts are intentionally ignored. | xref:BloombergLP/bdlc/operator_lt-0a9.adoc[`operator<`] | Return `true` if the underlying object value of the specified `lhs` is less than the value of the specified `rhs`, and `false` otherwise. Note that the reference count is intentionally ignored. | xref:BloombergLP/bdlc/operator_eq-02.adoc[`operator==`] | Return `true` if the underlying object value of the specified `lhs` is the same as the underlying object value of the specified `rhs`, and `false` otherwise. Note that the reference counts are intentionally ignored. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#