Skip to content

Commit 1f0b5ba

Browse files
committed
update
1 parent 191f0d2 commit 1f0b5ba

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

issues/2861.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@
5555

5656
<P class="ins">
5757
If <TT>v</TT> has type "pointer to <I>cv</I> <TT>U</TT>"
58-
and <TT>v</TT> does not point to an object within its lifetime or
59-
within its period of construction or destruction
60-
(11.9.5 [<A href="https://wg21.link/class.cdtor">class.cdtor</A>]) whose type is similar
61-
(7.3.6 [<A href="https://wg21.link/conv.qual">conv.qual</A>]) to <TT>U</TT>, the behavior is undefined.
58+
and <TT>v</TT> does not point to an object whose type is similar
59+
(7.3.6 [<A href="https://wg21.link/conv.qual">conv.qual</A>]) to <TT>U</TT> and that is within its
60+
lifetime or within its period of construction or destruction
61+
(11.9.5 [<A href="https://wg21.link/class.cdtor">class.cdtor</A>]) , the behavior is undefined.
6262
If <TT>v</TT> is a glvalue of type <TT>U</TT> and <TT>v</TT> does not
63-
refer to an object within its lifetime or within its period of
64-
construction or destruction whose type is similar to <TT>U</TT>, the
63+
refer to an object whose type is similar to <TT>U</TT> within its
64+
lifetime or within its period of construction or destruction, the
6565
behavior is undefined.
6666
</P>
6767

@@ -84,12 +84,12 @@
8484
converted to the null pointer value of the destination type.</DEL>
8585
<INS>If <TT>v</TT> is a null pointer value, the result is a null
8686
pointer value. Otherwise, if <TT>B</TT> is a virtual base class
87-
of <TT>D</TT> and <TT>v</TT> does not point to an object within its
88-
lifetime or within its period of construction or destruction
89-
(11.9.5 [<A href="https://wg21.link/class.cdtor">class.cdtor</A>]) whose type is similar
90-
(7.3.6 [<A href="https://wg21.link/conv.qual">conv.qual</A>]) to <TT>D</TT>, the behavior is
91-
undefined. Otherwise, the result is a pointer to the base class
92-
subobject of the derived class object.</INS>
87+
of <TT>D</TT> and <TT>v</TT> does not point to an object whose type is
88+
similar (7.3.6 [<A href="https://wg21.link/conv.qual">conv.qual</A>]) to <TT>D</TT> and that is within
89+
its lifetime or within its period of construction or destruction
90+
(11.9.5 [<A href="https://wg21.link/class.cdtor">class.cdtor</A>]), the behavior is undefined. Otherwise,
91+
the result is a pointer to the base class subobject of the derived
92+
class object.</INS>
9393

9494
</BLOCKQUOTE>
9595
</LI>

0 commit comments

Comments
 (0)