Skip to content

Commit

Permalink
Rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Feb 15, 2024
1 parent 2ef4864 commit f1fef2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2996_reflection/p2996r2.html
Original file line number Diff line number Diff line change
Expand Up @@ -1507,9 +1507,9 @@ <h2 data-number="3.15" id="named-tuple"><span class="header-section-number">3.15
<span id="cb31-6"><a href="#cb31-6"></a></span>
<span id="cb31-7"><a href="#cb31-7"></a><span class="kw">template</span> <span class="op">&lt;</span><span class="kw">class</span><span class="op">...</span> Tags<span class="op">&gt;</span></span>
<span id="cb31-8"><a href="#cb31-8"></a><span class="kw">consteval</span> <span class="kw">auto</span> make_named_tuple<span class="op">(</span>std<span class="op">::</span>meta<span class="op">::</span>info type, Tags<span class="op">...</span> tags<span class="op">)</span> <span class="op">{</span></span>
<span id="cb31-9"><a href="#cb31-9"></a> std<span class="op">::</span>vector<span class="op">&lt;</span>std<span class="op">::</span>meta<span class="op">::</span>nsdm_description<span class="op">&gt;</span> nsdms;</span>
<span id="cb31-9"><a href="#cb31-9"></a> std<span class="op">::</span>vector<span class="op">&lt;</span>std<span class="op">::</span>meta<span class="op">::</span>info<span class="op">&gt;</span> nsdms;</span>
<span id="cb31-10"><a href="#cb31-10"></a> <span class="kw">auto</span> f <span class="op">=</span> <span class="op">[&amp;]&lt;</span><span class="kw">class</span> Tag<span class="op">&gt;(</span>Tag tag<span class="op">){</span></span>
<span id="cb31-11"><a href="#cb31-11"></a> nsdms<span class="op">.</span>push_back<span class="op">(</span>std<span class="op">::</span>meta<span class="op">::</span>nsdm_description<span class="op">(</span></span>
<span id="cb31-11"><a href="#cb31-11"></a> nsdms<span class="op">.</span>push_back<span class="op">(</span>data_member_spec<span class="op">(</span></span>
<span id="cb31-12"><a href="#cb31-12"></a> dealias<span class="op">(^</span>Tag<span class="op">::</span>type<span class="op">)</span>,</span>
<span id="cb31-13"><a href="#cb31-13"></a> <span class="op">{.</span>name<span class="op">=</span>Tag<span class="op">::</span>name<span class="op">()}))</span>;</span>
<span id="cb31-14"><a href="#cb31-14"></a></span>
Expand Down

0 comments on commit f1fef2e

Please sign in to comment.