|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Re: Re: Perl - Is it an OO Languageby John M. Dlugosz (Monsignor) |
| on Aug 27, 2002 at 11:20 UTC ( [id://193190]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||