Skip to content

Commit f4834b4

Browse files
committed
[std] Introduce the label 'term.layout.compatible.type'
1 parent 5c0bf62 commit f4834b4

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
@@ -4744,9 +4744,9 @@
47444744
\end{note}
47454745

47464746
\pnum
4747-
\indextext{layout-compatible type}%
4747+
\label{term.layout.compatible.type}%
47484748
Two types \cvqual{cv1} \tcode{T1} and \cvqual{cv2} \tcode{T2} are
4749-
\defn{layout-compatible} types
4749+
\defnadjx{layout-compatible}{types}{type}
47504750
if \tcode{T1} and \tcode{T2} are the same type,
47514751
layout-compatible enumerations\iref{dcl.enum}, or
47524752
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
@@ -18588,7 +18588,7 @@
1858818588
\indexlibraryglobal{is_layout_compatible}%
1858918589
\tcode{template<class T, class U>}\br
1859018590
\tcode{struct is_layout_compatible;} &
18591-
\tcode{T} and \tcode{U} are layout-compatible\iref{basic.types} &
18591+
\tcode{T} and \tcode{U} are layout-compatible\iref{term.layout.compatible.type} &
1859218592
\tcode{T} and \tcode{U} shall be complete types,
1859318593
\cv{}~\keyword{void},
1859418594
or arrays of unknown bound. \\ \rowsep

0 commit comments

Comments
 (0)