Skip to content

Commit bd46586

Browse files
committed
Deployed 407e22f to dev with MkDocs 1.6.1 and mike 2.1.1
1 parent 407e22f commit bd46586

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

dev/api/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,23 @@ <h2 id="system-apis">System APIs</h2>
17711771
</div>
17721772
</div>
17731773
<div class="docblock">
1774+
<a id="output_file">
1775+
<pre><code class="language-cpp decl"><div>template &lt;typename...&nbsp;T&gt;
1776+
</div><div>auto output_file(cstring_view path, T... params) -&NoBreak;>&nbsp;ostream;</div></code></pre>
1777+
</a>
1778+
<div class="docblock-desc">
1779+
<p>Opens a file for writing. Supported parameters passed in <code>params</code>:</p>
1780+
<p><ul>
1781+
<li><p><code>&lt;integer></code>: Flags passed to <a href="https://pubs.opengroup.org/onlinepubs/007904875/functions/open.html">open (<code><a href="file::WRONLY">file::WRONLY | <a href="file::CREATE">file::CREATE | <a href="file::TRUNC">file::TRUNC</code> by default)</p>
1782+
</li><li><p><code>buffer_size=&lt;integer></code>: Output buffer size</p>
1783+
</li></ul>
1784+
</p>
1785+
<p><b>Example</b>: <pre><code class="language-cpp">auto out = fmt::output_file("guide.txt");
1786+
out.print("Don't {}", "Panic");
1787+
</code></pre> </p>
1788+
</div>
1789+
</div>
1790+
<div class="docblock">
17741791
<a id="windows_error">
17751792
<pre><code class="language-cpp decl"><div>template &lt;typename...&nbsp;T&gt;
17761793
</div><div>auto windows_error(int error_code, string_view message, const T&... args) -&NoBreak;>&nbsp;std::system_error;</div></code></pre>

dev/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)