r/cpp • Meeting C++ | C++ Evangelist • Sep 24 '26

About alignment, struct layout and the cache...

https://meetingcpp.com/blog/items/About-alignment--struct-layout-and-the-cache---.html
36 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/meetingcpp Meeting C++ | C++ Evangelist Sep 26 '26

I agree with you, but in that case I try to stay in context of viewing the memory layout of containers. Not sure if I should go into deeper details here, I did write about containers later on.