Skip to content

Commit 7260f30

Browse files
jensmaurertkoeppe
authored andcommitted
[basic.life] Add cross-reference for union member lifetime
1 parent 20452e9 commit 7260f30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/basic.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3358,7 +3358,8 @@
33583358
except that if the object is a union member or subobject thereof,
33593359
its lifetime only begins if that union member is the
33603360
initialized member in the union\iref{dcl.init.aggr,class.base.init},
3361-
or as described in \ref{class.union} and \ref{class.copy.ctor},
3361+
or as described in
3362+
\ref{class.union}, \ref{class.copy.ctor}, and \ref{class.copy.assign},
33623363
and except as described in \ref{allocator.members}.
33633364
The lifetime of an object \placeholder{o} of type \tcode{T} ends when:
33643365
\begin{itemize}

0 commit comments

Comments
 (0)