Next:
Constructors and destructors
Up:
Basic class semantics
Previous:
Objects of a class
Contents
Referring to the current object
Occasionally, we may want to know the address of an object within one of its methods
Each object is endowed with the
this
pointer
cout « this « endl;
Leo Liberti 2008-01-12