We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想实现的效果:假设基类ISimple,继承类CSimple,CSimple有其他的定义的成员变量,我想定义一个clone的函数,里面可以直接复制当前CSimple和他的成员变量,在成员变量的复制我无法做到。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
想实现的效果:假设基类ISimple,继承类CSimple,CSimple有其他的定义的成员变量,我想定义一个clone的函数,里面可以直接复制当前CSimple和他的成员变量,在成员变量的复制我无法做到。
x3::Object* newSimple = new x3::Object(clsid);
CSimple* newSimple(newSimple );可以具体化到一个实现类,这样才便于访问其成员变量。
先提前谢谢您的回复
The text was updated successfully, but these errors were encountered: