Typecasting to a SubClassWhen should a function return a pointer to a new object and when should it just be a referece?
Typecasting to a SubClassI have a parent class and subclass partially declared here: [code] class Object { public: Objec...
Differences in const in function declarationsI was wondering if this function's return value should be declared const. [code]string Object::to...
Differences in const in function declarationsWhen does using [code]this[/code] become constant? Also, should const be used in the return value o...
Differences in const in function declarationsIf a function is declared as [code]virtual const string toString() const;[/code] what do each ...
This user does not accept Private Messages