How to measure the actual memory footprint of an instance of a struct?

If you don't know what type would qualify as a POD @ShikiSuen , there is a hidden function that does just that:

1 Like