From a4cd0248901e353b73cd97c396b71f9c404b9ae9 Mon Sep 17 00:00:00 2001 From: Sniff Date: Mon, 7 Sep 2026 15:54:43 +0200 Subject: [PATCH] Fix padding size comment in struct S3 Updated the comment to reflect the correct padding size for struct S3. --- docs/cpp/align-cpp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cpp/align-cpp.md b/docs/cpp/align-cpp.md index 939c0edb165..37a1a3c52df 100644 --- a/docs/cpp/align-cpp.md +++ b/docs/cpp/align-cpp.md @@ -100,7 +100,7 @@ struct S3 { struct S1 s1; // S3 inherits cache alignment requirement // from S1 declaration int a; // a is now cache aligned because of s1 - // 28 bytes of trailing padding + // 16 bytes of trailing padding }; ```