Share via


basic_ifstream Members

The following table lists the members of the basic_ifstream Class. For a list of members inherited by the basic_ifstream class, see basic_istream Members.

Reference

Constructors

basic_ifstream

Initializes a new instance of a basic_ifstream object.

Member Functions

close

Closes a file.

is_open

Determines if a file is open.

open

Opens a file.

rdbuf

Returns the address of the stored stream buffer.

swap

Exchanges the content of this basic_ifstream for the content of the provided basic_ifstream.

Operators

operator=

Assigns the content of this stream object. This is a move assignment involving an rvalue that does not leave a copy behind.

See Also

Reference

basic_ifstream Class

basic_istream Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

basic_istream Members