Doing it better 1999-05-27 b ### From Reuben. Putting my last point in more pragmatic terms, I have only rarely used union types in C, and then in the same spirit as I use assignment within expressions, simply because I can, and it makes things a little more efficient. Perhaps I'm missing something you want to do with unions in an OOP world, like multiple inheritance, but I would have thought that inheritance can be defined rather more tightly than a simple union, in such a way as to avoid these problems. Then again, I'm not convinced that multiple inheritance is a good thing; I think you're better off using a context model than an object model if you want that sort of thing. -- http://www.cl.cam.ac.uk/users/rrt1001/ | certain, a. insufficiently analysed