摘要: 在C++中内联成员函数与非内联成员函数的可以分为两种情况:1.如果成员函数的声明和定义是在一起的,那么无论有没有写inline这个成员函数都是内联的,如下:using namespace std;class test{public: void fuc() { cout using namespac... 阅读全文
posted @ 2014-11-08 10:44 xxNote 阅读(921) 评论(0) 推荐(0) 编辑