阅读背景:

预处理器开关确定类的版本

来源:互联网 

I have a class with two possible implementations, depending on a preprocessor switch. The way I have handled this is to create "src\CompSwitch1\class.h" and "src\CompSwitch2\class.h". In my standard include file, I useI have a class with two possible implementation




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

分享到: