![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Re: Re: Perl - Is it an OO Languageby John M. Dlugosz (Monsignor) |
on Aug 27, 2002 at 15:20 UTC ( [id://193190]=note: print w/replies, xml ) | Need Help?? |
C++ private/public is checked at link time. If you compile the code as private, then change the header to read public and compile a client of the class, the problem will be caught at link time because the attributes are encoded in the name. If you defeat that, it might not work at all because the ordering may change in the layout of the data or virtual functions!
In Section
Meditations
|
|