[#BloombergLP-ball-CategoryManager-operator_subs-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager.adoc[CategoryManager]::operator&lsqb;&rsqb;
:relfileprefix: ../../../
:mrdocs:

Subscript operators

== Synopses

Declared in `&lt;ball&lowbar;categorymanager&period;h&gt;`

Return a non&hyphen;`const` reference to the category at the specified `index` in the registry of this category manager&period; The behavior is undefined unless `0 &lt;&equals; index &lt; length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Category.adoc[Category]&
xref:BloombergLP/ball/CategoryManager/operator_subs-0c.adoc[operator&lsqb;&rsqb;](int index);
----

[.small]#xref:BloombergLP/ball/CategoryManager/operator_subs-0c.adoc[_» more&period;&period;&period;_]#

Return a `const` reference to the category at the specified `index` in the registry of this category manager&period; The behavior is undefined unless `0 &lt;&equals; index &lt; length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Category.adoc[Category] const&
xref:BloombergLP/ball/CategoryManager/operator_subs-0a.adoc[operator&lsqb;&rsqb;](int index) const;
----

[.small]#xref:BloombergLP/ball/CategoryManager/operator_subs-0a.adoc[_» more&period;&period;&period;_]#


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