次の方法で共有


basic_ifstream::close

Closes a file.

void close( );

Remarks

The member function calls rdbuf -> close.

Example

See basic_filebuf::close for an example that uses close.

Requirements

Header: <fstream>

Namespace: std

See Also

Concepts

basic_ifstream Class

basic_ifstream Members

iostream Programming

iostreams Conventions