- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 boost系列化c++对象
#include #include #include using namespace std; // 包含以简单文本格式实现存档的头文件 #include #include #include #include #include // 系列化map必须包含此文件 #include #include class testclass; struct myinfo; namesp
2016-10-26 17:58:00 303
原创 c++ lambda闭包
template T lambdaTEST(string& name) { auto mylam = [&](int age) { cout << "my name is: " << name << ", age is: " << age << endl; }; return mylam; } int main() { string name = "CPP"; auto&& h
2016-10-25 10:05:24 338
原创 给容器快速赋值
#include #include using namespace std; template class InsertPoxy { T & m_poxyContain; public: InsertPoxy(T & poxyContain):m_poxyContain(poxyContain){ }; template InsertPoxy& operator()(U elem)
2016-10-22 22:39:29 1216
microhttpd的c++封装接口
2018-01-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人