Skip to content

Commit c962103

Browse files
committed
Deployed 30d7363 to dev with MkDocs 1.6.1 and mike 2.1.3
1 parent 30d7363 commit c962103

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

dev/api/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,10 +1285,9 @@ <h3 id="named-arguments">Named Arguments</h3>
12851285
<div class="docblock-desc">
12861286
<p>Returns a named argument to be used in a formatting function. It should only be used in a call to a formatting function.</p>
12871287
<p><b>Example</b>: <pre><code class="language-cpp">fmt::print("The answer is {answer}.", fmt::arg("answer", 42));
1288-
</code> </pre></p>
1288+
</code> Named arguments passed with </pre><code>fmt::arg</code> are not supported in compile-time checks, but <code>"answer"_a=42</code> are compile-time checked in sufficiently new compilers. See <code>operator""_a()</code>. </p>
12891289
</div>
12901290
</div>
1291-
<p>Named arguments are not supported in compile-time checks at the moment.</p>
12921291
<h3 id="compatibility">Compatibility</h3>
12931292
<div class="docblock">
12941293
<a id="basic_string_view">
@@ -1366,7 +1365,11 @@ <h2 id="format-api">Format API</h2>
13661365
</div><div>constexpr auto operator""_a();</div></code></pre>
13671366
</a>
13681367
<div class="docblock-desc">
1369-
</div>
1368+
<p>User-defined literal equivalent of <code>fmt::arg</code>, but with compile-time checks.</p>
1369+
<p><b>Example</b>: <pre><code class="language-cpp">using namespace fmt::literals;
1370+
fmt::print("The answer is {answer}.", "answer"_a=42);
1371+
</code> </pre></p>
1372+
</div>
13701373
</div>
13711374
<h3 id="utilities">Utilities</h3>
13721375
<div class="docblock">

dev/search/search_index.json

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

dev/sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)