BloombergLP::ball::AttributeCollectorRegistry::addCollector

Add the specified collector with the specified name to this registry. Return 0 if collector was successfully registered, and a non-zero value (with no effect) otherwise. Note that this method will fail if a collector having name is already registered.

Synopsis

Declared in <ball_attributecollectorregistry.h>

int
addCollector(
    Collector const& collector,
    std::string_view const& name);