摘要: Pool内存池: 只能开辟常规内存,数据类型为int,float,double,string等。 #include <iostream> #include <boost/pool/pool.hpp> #include <boost/pool/object_pool.hpp> using namesp 阅读全文
posted @ 2021-03-11 18:24 lyshark 阅读(973) 评论(0) 推荐(0)
摘要: 基础处理 #include <iostream> #include <boost/foreach.hpp> #include <boost/filesystem.hpp> using namespace std; using namespace boost; using namespace boos 阅读全文
posted @ 2021-03-11 18:23 lyshark 阅读(923) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> #include <boost\bind.hpp> using namespace std; using namespace boost; int func(int x, int y) { return x + y; } s 阅读全文
posted @ 2021-03-11 18:22 lyshark 阅读(588) 评论(0) 推荐(0)