[#BloombergLP-ball-UserFields-operator_subs-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFields.adoc[UserFields]::operator[] :relfileprefix: ../../../ :mrdocs: Subscript operators == Synopses Declared in `<ball_userfields.h>` Return a reference providing modifiable access to the value at the specified `index`. The behavior is undefined unless `0 <= index && index < length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue]& xref:BloombergLP/ball/UserFields/operator_subs-0d.adoc[operator[]](int index); ---- [.small]#xref:BloombergLP/ball/UserFields/operator_subs-0d.adoc[_» more..._]# Return a reference providing non‐modifiable access to the value at the specified `index`. The behavior is undefined unless `0 <= index && index < length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue] const& xref:BloombergLP/ball/UserFields/operator_subs-05.adoc[operator[]](int index) const; ---- [.small]#xref:BloombergLP/ball/UserFields/operator_subs-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#