~/talk

Visualizing Memory Layout in Visual Studio

Talkat Pure Virtual C++ 2024 · on Tuesday, 2024-04-30· [developer-experience, c-and-cpp]
links:none on file
slides:none on file

Visual Studio 2022 v17.8 adds an inline memory-layout inspector that shows size and alignment when hovering a type and a clickable Memory Layout link that opens a colorized view with per-member offsets and sizes. It reports classes, structs, unions and enums, reflects virtual-function storage, and works at declarations and use sites. A secondary table view lists members with offsets at left and sizes at right so actual padding and surprising gaps become obvious.

AI-written summary · about

  1. 0:00Introduction
  2. 0:18Demo
  3. 1:28Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.