User profile: Trevor Harmon

User info
User name:Trevor Harmon
History
Joined:
Number of posts:4
Latest posts:

Parent fields not accessible from initializer list
You say the reason is to protect unauthorized dinking, but a subclass can still dink around with pub...

Parent fields not accessible from initializer list
Yes, 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 list
I'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 members
Consider the following Java program: [code] class Parent { protected int foo; } class C...

This user does not accept Private Messages

User: Trevor Harmon

  • Public profile