Pages

Men

rh

12/18/2012

Can we declare a static function as virtual in VC++

No. The virtual function mechanism is used on the specific object that determines which virtual function to call. Since the static functions are not any way related to objects, they cannot be declared as virtual.

No comments :

Post a Comment