>One example that is rife throughout the Abi code is the gnome FE code
>where the main Window widget pointer is left in protected space where it
>can be accessed and set by the over-loaded _constructWindow methods.
>
>Cheers
>
>Martin
>
>Motto: Some rules are made to be broken.

foo_type getFoo(void) const;
void setFoo(foo_type);

That's all I have to say. Using protected for anything other than methods is 
horrible and should be considered wrong/bad code.

Dom

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to