Skip to content

Commit eb49065

Browse files
committed
[std] Introduce the label 'term.layout.compatible.type'
1 parent afb2703 commit eb49065

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

source/basic.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -4751,9 +4751,9 @@
47514751
\end{note}
47524752

47534753
\pnum
4754-
\indextext{layout-compatible type}%
4754+
\label{term.layout.compatible.type}%
47554755
Two types \cvqual{cv1} \tcode{T1} and \cvqual{cv2} \tcode{T2} are
4756-
\defn{layout-compatible} types
4756+
\defnadjx{layout-compatible}{types}{type}
47574757
if \tcode{T1} and \tcode{T2} are the same type,
47584758
layout-compatible enumerations\iref{dcl.enum}, or
47594759
layout-compatible standard-layout class types\iref{class.mem}.

source/classes.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@
812812
Two standard-layout unions are layout-compatible if they
813813
have the same number of non-static data members and corresponding
814814
non-static data members (in any order) have layout-compatible
815-
types\iref{basic.types}.
815+
types\iref{term.layout.compatible.type}.
816816

817817
\pnum
818818
In a standard-layout union with an active member\iref{class.union}

source/utilities.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -20813,7 +20813,7 @@
2081320813
\indexlibraryglobal{is_layout_compatible}%
2081420814
\tcode{template<class T, class U>}\br
2081520815
\tcode{struct is_layout_compatible;} &
20816-
\tcode{T} and \tcode{U} are layout-compatible\iref{basic.types} &
20816+
\tcode{T} and \tcode{U} are layout-compatible\iref{term.layout.compatible.type} &
2081720817
\tcode{T} and \tcode{U} shall be complete types,
2081820818
\cv{}~\keyword{void},
2081920819
or arrays of unknown bound. \\ \rowsep

0 commit comments

Comments
 (0)