basic_ifstream::is_open

Test for open stream.

  bool is_open() const
  
Remarks

Use is_open() to test that a stream is indeed open and ready for input from the file.

Returns true if file is open.

See Also

For example of basic_ifstream::is_open() usage see basic_ifstream::basic_ifstream()