Skip to content

Commit

Permalink
FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Nov 19, 2024
1 parent 0167250 commit 3fdc1f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 2996_reflection/p2996r8.html
Original file line number Diff line number Diff line change
Expand Up @@ -9093,6 +9093,8 @@ <h3 class="unnumbered" id="meta.reflection.member.queries-reflection-member-quer
<blockquote>
<div class="addu">
<div class="sourceCode" id="cb188"><pre class="sourceCode cpp"><code class="sourceCode cpp"><span id="cb188-1"><a href="#cb188-1" aria-hidden="true" tabindex="-1"></a><span class="kw">consteval</span> vector<span class="op">&lt;</span>info<span class="op">&gt;</span> members_of<span class="op">(</span>info r<span class="op">)</span>;</span></code></pre></div>
<p>FIXME: anonymous union members - we should return the union, not the
union member.</p>
<p><span class="marginalizedparent"><a class="marginalized" href="#pnum_326" id="pnum_326">1</a></span>
<em>Constant When</em>: <code class="sourceCode cpp">r</code> is a
reflection representing either a class type that is complete from some
Expand Down
2 changes: 2 additions & 0 deletions 2996_reflection/reflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -5382,6 +5382,8 @@ static_assert(template_arguments_of(^PairPtr<int>).size() == 1);
consteval vector<info> members_of(info r);
```

FIXME: anonymous union members - we should return the union, not the union member.

[#]{.pnum} *Constant When*: `r` is a reflection representing either a class type that is complete from some point in the evaluation context or a namespace.

[#]{.pnum} A member of a class or namespace `$E$` is _members-of-representable_ if it is either
Expand Down

0 comments on commit 3fdc1f4

Please sign in to comment.