A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../io/basic_streambuf/../basic_filebuf/is_open.html below:

std::basic_filebuf<CharT,Traits>::is_open - cppreference.com

Returns true if the most recent call to open() succeeded and there has been no call to close() since then.

[edit] Parameters

(none)

[edit] Return value

true if the associated file is open, false otherwise.

[edit] Notes

This function is typically called by std::basic_fstream::is_open().

[edit] Example

Output:

direct call: true
through streambuf: true
through fstream: true
[edit] See also opens a file and configures it as the associated character sequence
(public member function) [edit] flushes the put area buffer and closes the associated file
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4