30 Input/output library [input.output]

30.10 File systems [filesystems]

30.10.26 Error reporting [fs.err.report]

Filesystem library functions often provide two overloads, one that throws an exception to report file system errors, and another that sets an error_­code. [Note: This supports two common use cases:

end note]

Functions not having an argument of type error_­code& handle errors as follows, unless otherwise specified:

Functions having an argument of type error_­code& handle errors as follows, unless otherwise specified: