Ellery Newcomer:

> Won't the union balloon Wrapper's size to always be that of the largest 
> inner struct that you use?

Yes, all items in an array must have the same size. If you want items of 
different size you have to add a level of indirection, storing inside the array 
pointers to the structs. Then your structs can be of different size, and you 
need pointer casts, as I have written in another post.

Bye,
bearophile

Reply via email to