[#BloombergLP-balm-MetricSampleGroup-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this sample group the value of the specified `rhs` sample group, and return a reference to this modifiable sample group. Note that only the pointer to the `MetricRecord` array and the length are copied, and not the records themselves. == Synopsis Declared in `<balm_metricsample.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup]& operator=(xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#