Skip to content

Commit

Permalink
No no_unique_address
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Jan 30, 2024
1 parent 2e856e9 commit 7395ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3074_consexpr_union_lifetime/constexpr-union-lifetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ With corresponding wording in [obj.lifetime]{.sref}:
```cpp
template<class T>
class uninitialized {
[[no_unique_address]] T $value$; // exposition-only
T $value$; // exposition-only

public:
uninitialized(const uninitialized&);
Expand Down
2 changes: 1 addition & 1 deletion 3074_consexpr_union_lifetime/p3074r1.html
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ <h1 data-number="3" style="border-bottom:1px solid #cccccc" id="wording"><span c
</ul>
<div class="sourceCode" id="cb11"><pre class="sourceCode cpp"><code class="sourceCode cpp"><span id="cb11-1"><a href="#cb11-1"></a><span class="kw">template</span><span class="op">&lt;</span><span class="kw">class</span> T<span class="op">&gt;</span></span>
<span id="cb11-2"><a href="#cb11-2"></a><span class="kw">class</span> uninitialized <span class="op">{</span></span>
<span id="cb11-3"><a href="#cb11-3"></a> <span class="op">[[</span><span class="at">no_unique_address</span><span class="op">]]</span> T <em>value</em>; <span class="co">// exposition-only</span></span>
<span id="cb11-3"><a href="#cb11-3"></a> T <em>value</em>; <span class="co">// exposition-only</span></span>
<span id="cb11-4"><a href="#cb11-4"></a></span>
<span id="cb11-5"><a href="#cb11-5"></a><span class="kw">public</span><span class="op">:</span></span>
<span id="cb11-6"><a href="#cb11-6"></a> uninitialized<span class="op">(</span><span class="kw">const</span> uninitialized<span class="op">&amp;)</span>;</span>
Expand Down

0 comments on commit 7395ef9

Please sign in to comment.