Return a reference to the element at the specified index positions past the current one. The behavior is undefined unless the referenced position lies within the underlying sequence. Note that index may be negative.

Synopsis

Declared in <bslstl_randomaccessiterator.h>

T&
operator[](difference_type index) const;

Created with MrDocs