摘要:
[= delete] using private constructor: application-1: 点击查看代码 #include<iostream> using namespace std; class B; class A { friend class B; private: A() {} 阅读全文
摘要:
[remove_reference] 点击查看代码 #include<iostream> using namespace std; template<typename Tp> class remove_ref { public: typedef Tp type; }; template<typena 阅读全文
摘要:
[pass by left-value refernece] [pass by right-value refernece] 点击查看代码 #include<iostream> #include<vector> using namespace std; void print(int &¶m) 阅读全文
摘要:
lamda can be as an inline function or a object. [how to understand "lamda", comparing with class] [lamda introducer: pass value or reference ] [spec: 阅读全文