自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 c++ member function pointer

#include <iostream> #include <string> #include <sstream> #include <vector> #include<functional> using namespace std; class person { public: explicit person(const int& a, const string& b) :age(a), name(b) { cout &l

2021-01-26 21:22:23 106

原创 lambda

#include <iostream> #include <string> #include <sstream> #include <vector> #include<functional> using namespace std; class person { public: explicit person(const int& a,const string& b) :age(a), name(b) {}; void p

2021-01-22 11:37:48 83

原创 compile/linking/header file

1.The header files don’t get compiled 2.The content in the header files gets copied and pasted into where it gets included. 3.The linker will link all the .obj files at linking stage.

2021-01-19 22:28:53 96

原创 copy constructor

c++ Time to invoke copy constructor 1.passing by value to a function. 2.return by value from a function. 3.pushing object into the container.

2021-01-19 15:59:09 96

原创 move semantic

comparsion between move constructor/assignment operator and copy constructor//assignment operator c++测试 #include <iostream> #include <string> #include <sstream> #include <vector> using namespace std; class book { public: book(co

2021-01-18 22:31:52 144

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除