PDA

View Full Version : Operator Overloading



naturalpsychic
18th July 2011, 20:07
does anybody know what is this operator overloading called?


virtual operator progress() const;

Santosh Reddy
19th July 2011, 05:19
this is typecast operator overloading, and this will cast / convert this to progress type

Edit: it being virtual function, the derived classes can redefine it to have dynamic behavior when converted to progress type