On 3/6/2014 10:12 PM, H. S. Teoh wrote:
From what I understand, structs are *supposed* to be thin value types. I would say that if a struct is under a certain size (determined by the compiler), and doesn't have complicated semantics like dtors and stuff like that, then it should be treated like a POD (passed in registers, etc).
Yes, that's right.
