2 ms·
> compilers appear so far to be more consistent. That's true. Which is why object membership is private by default in C++. You can't get the address of an obje
by robotresearcher 11y ago
> compilers appear so far to be more consistent.
That's true. Which is why object membership is private by default in C++. You can't get the address of an object member unless the author expressly allows you. That's why I think the GP's complaints about pointers making safe shared data nigh-impossible in C++ was maybe overstated. The language/compiler has things to help you. Much more than C, anyway.