摘要: 转载:https://www.cnblogs.com/diligenceday/p/5781408.html C++ 中explicit的作用 explicit作用: 在C++中,explicit关键字用来修饰类的构造函数,被修饰的构造函数的类,不能发生相应的隐式类型转换,只能以显示的方式进行类型转 阅读全文
posted @ 2020-06-19 17:21 梅长苏枫笑 阅读(818) 评论(1) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/minghui_/article/details/80748142 转自:#ifdef _DEBUG #define new DEBUG_NEW #endif的解释 在用vc时,利用AppWizard会产生如下代码: [cpp] view plain 阅读全文
posted @ 2020-06-19 16:14 梅长苏枫笑 阅读(316) 评论(0) 推荐(0) 编辑