Namespaces
Variants
Views
Actions

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

From cppreference.com
 
 
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11)(C++14)
(C++14)(C++14)  
(C++11)(C++14)
(C++14)(C++14)  
(C++17)(C++20)
(C++17)
(C++17)
 
 
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.

[edit] Parameters

(none)

[edit] Return value

A pointer or a reference to the current element.

[edit] Exceptions

May throw implementation-defined exceptions.