From f30ce2d95aff7b844f2f0e8f01c1c4405d096f4b Mon Sep 17 00:00:00 2001 From: Jay Ghiron <55773281+Halalaluyafail3@users.noreply.github.com> Date: Wed, 11 Mar 2026 22:52:37 -0400 Subject: [PATCH] [class.mem.general] Specify non-static data members It would not make sense if a non-union class having member functions or static data members would stop it from being layout-compatible with other types. --- source/classes.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/classes.tex b/source/classes.tex index bbad2eca06..09981a5418 100644 --- a/source/classes.tex +++ b/source/classes.tex @@ -880,8 +880,8 @@ \pnum Two standard-layout struct\iref{class.prop} types are \defnx{layout-compatible classes}{layout-compatible!class} if -their common initial sequence comprises all members and bit-fields of -both classes\iref{basic.types}. +their common initial sequence comprises all non-static data members and +bit-fields of both classes\iref{basic.types}. \pnum Two standard-layout unions are layout-compatible if they