Private visible?

Walter Bright newshound at digitalmars.com
Sat Jul 15 15:41:36 PDT 2006


Lucas Goss wrote:
> So the compiler does error with the first two attempts, but the third 
> compiles and runs fine.

Yes, it is C++ and is perfectly legal C++. A more interesting question 
is should it be legal? I posed the question in comp.lang.c++.moderated, 
and got a couple of interesting answers.



More information about the Digitalmars-d mailing list