阅读背景:

协变虚拟函数和智能指针

来源:互联网 

In C++, a subclass can specify a different return type when overriding a virtual function, as long as the return type is a subclass of the original return type (And both are returned as pointers/references).In C++, a subclass can specify a different retu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: