override toString

Qian Xu qian.xu at funkwerk-itk.com
Thu Dec 3 04:27:27 PST 2009

Max Samukha wrote:

> this.classinfo can be seen as a virtual function returning the
> classinfo for the actual class instance and typeof(this).classinfo -
> as a static function returning the classinfo of the compile-time type
> of this (that is the class where it is called). So, your example
> should be rewritten (D2):

Thanks. You made my day

More information about the Digitalmars-d-learn mailing list