ΒΆtemplate <typename... T>
fmt::ostream output_file(fmt::cstring_view path,
                         T... params)

Description

\rstOpens a file for writing. Supported parameters passed in *params*: `` <integer >``: Flags passed to `open <https ://pubs.opengroup.org/onlinepubs/007904875/functions/open.html>`_ (``file::WRONLY | file::CREATE | file::TRUNC`` by default) ``buffer_size= <integer >``: Output buffer size *Example**:: auto out = fmt::output_file("guide.txt"); out.print("Don't {}", "Panic");\endrst

Declared at: third_party/fmt/include/fmt/os.h:413

Templates

T

Parameters

fmt::cstring_view path
T... params