cpp/io/basic ios/eof

Returns if the associated stream has reached end-of-file. Specifically, returns if  is set in rdstate.

See for the list of conditions that set.

Parameters
(none)

Return value
if an end-of-file has occurred, otherwise.