File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 47444744\end {note }
47454745
47464746\pnum
4747- \indextext { layout- compatible type}%
4747+ \label { term. layout. compatible. type }%
47484748Two types \cvqual {cv1} \tcode {T1} and \cvqual {cv2} \tcode {T2} are
4749- \defn {layout-compatible} types
4749+ \defnadjx {layout-compatible}{ types}{type}
47504750if \tcode {T1} and \tcode {T2} are the same type,
47514751layout-compatible enumerations\iref {dcl.enum }, or
47524752layout-compatible standard-layout class types\iref {class.mem }.
Original file line number Diff line number Diff line change 812812Two standard-layout unions are layout-compatible if they
813813have the same number of non-static data members and corresponding
814814non-static data members (in any order) have layout-compatible
815- types\iref {basic.types }.
815+ types\iref {term.layout.compatible.type }.
816816
817817\pnum
818818In a standard-layout union with an active member\iref {class.union }
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments