4 ms·
> C++, of course, makes it impossible to hide anything from your users because they need to allocate your class themselves, you need to put all your private iva
by GFK_of_xmaspast 11y ago
> C++, of course, makes it impossible to hide anything from your users because they need to allocate your class themselves, you need to put all your private ivars and methods in the public class definition, and you can't add ivars to the class later.
On the other hand, actual practice:
http://www.gotw.ca/gotw/024.htm http://www.gotw.ca/gotw/024.htm
- astrange 11y agoOh, but Objective-C does the right thing using the standard and simplest way to write it, and you can subclass other people's classes and everything! http://stackoverflow.com/questions/12522053/what-is-a-non-fragile-abi http://stackoverflow.com/questions/12522053/what-is-a-non-fr...