摘要: 一、统计对象中某个成员变量的访问次数 解决方法一: #include <iostream> using namespace std; class Test { private: int i; mutable int m_count; public: Test(int v) { i = v; m_co 阅读全文
posted @ 2018-03-25 13:12 lgc202 阅读(475) 评论(0) 推荐(0) 编辑