c++ - calling static function from constructor of same class -
can call static function constructor of same class.
class a{ static void fun(); a() {fun();} };
it giving error while linking code. using visual studio c++, 2010.
yes can - long provide function definition static function well.
Comments
Post a Comment