I hope this isn't the final word on the topic.
I found this article which I think explains the reasoning behind non-zero sized structs even better:
http://bytes.com/topic/c/insights/660463-sizeof-empty-class-structure-1-a
I hope this isn't the final word on the topic.
I found this article which I think explains the reasoning behind non-zero sized structs even better:
http://bytes.com/topic/c/insights/660463-sizeof-empty-class-structure-1-a