D
dust
I have a class/stucture A which is abstract as it contains all virtual
member functions. Now I have to call a function(void func(A& client),
but this function is expecting reference to object of type A. Since A
is abstract, I can't create an object, so how can I send an object to
this function? or how do deal with such situation.
-Dust
member functions. Now I have to call a function(void func(A& client),
but this function is expecting reference to object of type A. Since A
is abstract, I can't create an object, so how can I send an object to
this function? or how do deal with such situation.
-Dust