diff --git a/doc/api.rst b/doc/api.rst index 0b3d0231e157..eacf740ad3a9 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -49,6 +49,10 @@ checked at compile time in C++20. To pass a runtime format string wrap it in *args* is an argument list representing objects to be formatted. +I/O errors are reported as `std::system_error +`_ exceptions unless +specified otherwise. + .. _format: .. doxygenfunction:: format(format_string fmt, T&&... args) -> std::string