"it isn't? what could be more initialized than an int with the value of 10 ._."
No, it's assignment. Assignment comes after initialisation. By the time you assign a value to a variable, the variable would've been fully initialised.
Zephilinox wrote:
"what do you mean by initialized?"
Initialisation is the term used to describe the assignment of a value to an object/variable at the point of its declaration.
Zephilinox wrote:
"always get that, declaration, and definition confused"
Define and declaration mean the same thing when it comes to variables. However, define and declaration are two different things in the context of classes and functions.
That's right. Any modifications to a member outside the constructor's initialiser-list is considered assignment. The initialiser-list is the only chance you're going to get to initialise your members. If you didn't know, the initialiser-list sits between the colon (after the constructor's parameter-list), and the opening brace of the constructor.
Any road, I don't think there's a way to initialise A, so I'm gonna' have to assign a value to A inside Base's constructor body.