| const T& operator*() const; |
(1) | |
| const T* operator->() const; |
(2) | |
Returns a pointer or a reference to the current element.
The behavior is undefined if the iterator is end-of-stream iterator.
Parameters
(none)
Return value
A pointer or a reference to the current element.
Exceptions
May throw implementation-defined exceptions.
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.