std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator-> (3) - Linux Manuals

std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator->: std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator->

NAME

std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator-> - std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator->

Synopsis


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


(none)