Lets say we have the following class:
Is a this pointer supplied to the constructor? I assume not because at the time the constructor is called there is no object instantiated right? By what mechanism then is the 'a' member associated with the object in question?Code:class Simple{ int a; public: Simple (int value = 0){a = value;} };
Thanks.