[#BloombergLP-balm-CollectorRepository-collect-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/CollectorRepository.adoc[CollectorRepository]::collect
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, using a `std&colon;&colon;vector` result&period;

== Synopsis

Declared in `&lt;balm&lowbar;collectorrepository&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
collect(
    std::vector&lt;MetricRecord&gt;* records,
    xref:BloombergLP/balm/Category.adoc[Category] const* category);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
