On Wednesday, 30 January 2013 at 22:41:23 UTC, Timon Gehr wrote:
The problem of using empty struct variables is that they take up memory. They have to, because you can make a pointer to a variable and then you can dereference that variable. There has to be at least a byte of memory
to dereference.


No, that is not why. The only conceivable reason empty structs take up space is so that different instances have different addresses.

Oh, thanks for clearing that up.

Reply via email to