阅读背景:

如何避免从基础构造函数调用Viritual方法

来源:互联网 

I have an abstract class in a library. I'm trying to make it as easy as possible to properly implement a derivation of this class. The trouble is that I need to initialize the object in a three-step process: grab a file, do a few intermediate steps, and then work with the file. The first and last step are particular to the derived class. Here's a stripped-down example.I have an abstract class in a library. I'm tryi




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

分享到: