Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Deployed 2c5287d with MkDocs version: 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Dec 7, 2023
1 parent fa4c251 commit ac00fbc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,5 +299,5 @@ <h4 id="thank-yous">Thank yous</h4>

<!--
MkDocs version : 1.1.2
Build Date UTC : 2023-12-07 19:48:35.974449+00:00
Build Date UTC : 2023-12-07 20:22:18.824280+00:00
-->
13 changes: 10 additions & 3 deletions macros/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@
<li class="toctree-l3"><a class="reference internal" href="#vatype">$vatype</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#varef">$varef</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#vasplat">$vasplat</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#untyped-lists">Untyped lists</a>
</li>
<li class="toctree-l2"><a class="reference internal" href="#macro-directives">Macro directives</a>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../reflection/">Reflection</a>
Expand Down Expand Up @@ -570,6 +570,14 @@ <h3 id="vatype">$vatype</h3>
<h3 id="varef">$varef</h3>
<p>Returns the argument as an lvalue. This corresponds to <code>&amp;myref</code> style parameters,
e.g. <code>$varef(1) = 123</code>.</p>
<h3 id="vasplat">$vasplat</h3>
<p><code>$vasplat</code> allows you to paste the varargs in the call into another call. For example,
if the macro was called with values <code>"foo"</code> and <code>1</code>, the code <code>foo($vasplat())</code>, would become <code>foo("foo", 1)</code>.
You can even extract provide a range as the argument: <code>$vasplat(2..4)</code> (in this case, this would past in
arguments 2, 3 and 4).</p>
<p>Nor is it limited to function arguments, you can also use it with initializers:</p>
<pre><code>int[*] a = { 5, $vasplat(2..), 77 };
</code></pre>
<h2 id="untyped-lists">Untyped lists</h2>
<p>Compile time variables may hold untyped lists. Such lists may be iterated over or
implicitly converted to initializer lists:</p>
Expand All @@ -586,7 +594,6 @@ <h2 id="untyped-lists">Untyped lists</h2>
// [1, 2]
// 2
</code></pre>
<h2 id="macro-directives">Macro directives</h2>

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit ac00fbc

Please sign in to comment.