[fstream.syn]

31 Input/output library [input.output]

31.10 File-based streams [file.streams]

31.10.1 Header <fstream> synopsis [fstream.syn]

The header defines four class templates and eight types that associate stream buffers with files and assist reading and writing files.

[Note 1:

The class template basic_filebuf treats a file as a source or sink of bytes.

In an environment that uses a large character set, the file typically holds multibyte character sequences and the basic_filebuf object converts those multibyte sequences into wide character sequences.

— end note]

In subclause [file.streams], member functions taking arguments of const filesystem​::​path​::​value_type* are only provided on systems where filesystem​::​path​::​value_type ([fs.class.path]) is not char.

[Note 2:

These functions enable class path support for systems with a wide native path character type, such as wchar_t.

— end note]