Return a reference to the character at the specified position.
Declared in <bslstl_string.h>
Return a reference to the character at the specified position.
reference
operator[](size_type position);
» more...
Return a reference to the character at the specified position.
const_reference
operator[](size_type position) const;
» more...
reference to the character at position
| Name | Description |
|---|---|
| position | starting index |