阅读背景:

c++:使用虚拟函数解耦接口/实现w/o ?

来源:互联网 

I've been spoiled using Java in the last few months! I have a C++ project where I would like to decouple a class interface (.h file) from its implementation details. But the class's member fields have to be in its declaration, and it seems like I have this unavoidable dependency linking if I want to tweak the class's member fields.I've been spoiled using Java in the last few mo




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

分享到: