for safari: variable alias problem

Dirk Mueller mueller@kde.org
Tue, 4 Feb 2003 10:29:14 +0100


On Die, 04 Feb 2003, Maciej Stachowiak wrote:

> Also, would it be good to make the union private or protected, now that 
> there are accessors for all the parts of the bitfield?

yeah, not really. we assign "value" in some places. I was lazy and didn't 
add a setValue() for that, as I like the assignment more :-)

Anonymous unions are part of ISO C++ as far as I know, however they're not 
part of C. Not sure what ObjcC thinks about this, you have to try it :)



-- 
Dirk (received 212 mails today)