Return a const reference to the unique element at the specified index.
Declared in <bdlc_compactedarray.h>
TYPE const&
uniqueElement(std::size_t index) const;
Return a const reference to the element at the specified index within the sorted sequence of unique element values in this object. The behavior is undefined unless index < uniqueLength(). Note that uniqueElement(index) and operator can return different objects.
const reference to the unique element at index
| Name | Description |
|---|---|
| index | index into the sorted unique-element sequence |