Frank Schönheit - Sun Microsystems Germany wrote: > Hi Mathias, > >> Yes, even published constant groups were allowed to be changed, > > didn't know that .... > >> but IMHO >> the problems caused by that (or not caused by that) are the same as in >> case of enums. We treated them differently, though there is no technical >> reason. No language binding today would have a technical problem with an >> extended enum as none of them really does boundary checks and breaks if >> a "new" enum value is found (even C++). > > In the C++ language binding, a "Foo_MAKE_FIXED_SIZE = SAL_MAX_ENUM" is > generated for a enum type Foo. IIRC, this was introduced a few years > ago, because of anticipated or real problems with the enum size ...
But where is it used? This is just a crutch because C++ does not have this built-in. If the crutch is not used anywhere... Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[email protected]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
