Parent fields not accessible from initializer listYou say the reason is to protect unauthorized dinking, but a subclass can still dink around with pub...
Parent fields not accessible from initializer listYes, I understand that I cannot. But my question was, why? I don't see why the C++ standard would di...
Parent fields not accessible from initializer listI'm trying to use a constructor's initializer list to initialize a public field in the superclass, l...
C++ vs. Java inheritance rule for protected membersConsider the following Java program: [code] class Parent { protected int foo; } class C...
This user does not accept Private Messages