Skip to content

Commit

Permalink
lol default destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Nov 5, 2024
1 parent ca75943 commit 58f09b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 2996_reflection/p2996r8.html
Original file line number Diff line number Diff line change
Expand Up @@ -9013,8 +9013,8 @@ <h3 class="unnumbered" id="meta.reflection.define_aggregate-reflection-class-def
it has a user-provided default constructor which has no effect.</li>
<li><span class="marginalizedparent"><a class="marginalized" href="#pnum_385" id="pnum_385">(7.11)</a></span>
If <code class="sourceCode cpp"><em>C</em></code> is a union type for
which any of its members are not trivially default destructible, then it
has a user-provided default destructor which has no effect.</li>
which any of its members are not trivially destructible, then it has a
user-provided destructor which has no effect.</li>
</ul>
<p><span class="marginalizedparent"><a class="marginalized" href="#pnum_386" id="pnum_386">8</a></span>
<em>Returns</em>: <code class="sourceCode cpp">class_type</code>.</p>
Expand Down
2 changes: 1 addition & 1 deletion 2996_reflection/reflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -5451,7 +5451,7 @@ Produces an injected declaration `$D$` ([expr.const]) that provides a definition
- If `@[email protected]` does not contain a value, the non-static data member is declared without a name.
- Otherwise, the name of the non-static data member is the identifier determined by the character sequence encoded by `u8identifier_of(@$r$~$K$~@)` in UTF-8.
- [#.#]{.pnum} If `$C$` is a union type for which any of its members are not trivially default constructible, then it has a user-provided default constructor which has no effect.
- [#.#]{.pnum} If `$C$` is a union type for which any of its members are not trivially default destructible, then it has a user-provided default destructor which has no effect.
- [#.#]{.pnum} If `$C$` is a union type for which any of its members are not trivially destructible, then it has a user-provided destructor which has no effect.

[#]{.pnum} *Returns*: `class_type`.

Expand Down

0 comments on commit 58f09b1

Please sign in to comment.