C++ method only visible when object cast to base class?

后端 未结 7 2404
栀梦
栀梦 2020-11-29 10:27

It must be something specific in my code, which I can\'t post. But maybe someone can suggest possible causes.

Basically I have:

class CParent
{
 publ         


        
7条回答
  •  遥遥无期
    2020-11-29 11:05

    The method in your child class has a different number of arguments than what you're trying to pass into it. Could it be related to that?

提交回复
热议问题