Skip to content

Commit 3f24a5b

Browse files
committed
LWG wording tweaks to 4015 P/R
1 parent 8880f9f commit 3f24a5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/issue4015.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ namespace std {
15911591
using value_type = T;
15921592
[…]
15931593
private:
1594-
<del>*val // <i>exposition only</i></del>;
1594+
<del>T* val; // <i>exposition only</i></del>
15951595
<ins>union {</ins>
15961596
<ins>remove_cv_t&lt;T&gt; <i>val</i>; // <i>exposition only</i></ins>
15971597
<ins>};</ins>
@@ -1609,10 +1609,10 @@ namespace std {
16091609
<p>
16101610
-1-
16111611
<ins>
1612-
When its member <tt><i>val</i></tt> is active
16131612
(<sref ref="[class.union.general]"/>),
1614-
an instance of <code>optional&lt;T&gt;</code> is said to
1615-
<i>contain a value</i>, and <tt><i>val</i></tt> is referred to as its
1613+
An instance of <code>optional&lt;T&gt;</code> is said to
1614+
<i>contain a value</i> when its member <tt><i>val</i></tt> is active,
1615+
and <tt><i>val</i></tt> is referred to as its
16161616
<i>contained value</i>.
16171617
</ins>
16181618
<del>

0 commit comments

Comments
 (0)