basic_ifstream::is_open
Determines if a file is open.
bool is_open( ) const;
Return Value
true if the file is open, false otherwise.
Remarks
The member function returns rdbuf -> is_open.
Example
See basic_filebuf::is_open for an example that uses is_open.
Requirements
Header: <fstream>
Namespace: std