![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Boost
yjwx0017
这个作者很懒,什么都没留下…
展开
-
Boost.Any
Examples #include #include using boost::any_cast; typedef std::list many; void append_int(many & values, int value) { boost::any to_append = value; values.push_back(to_append); } void ap原创 2016-09-18 12:42:00 · 474 阅读 · 0 评论 -
Boost String Algorithms Library
来自Boost帮助文档 简介 Boost字符串算法库提供了很多操作字符串的算法:大小写转换、去掉字符串首尾空白字符或指定字符、查找、替换、分割等等。 使用方法 #include using namespace std; using namespace boost; // ... string str1(" hello world! "); to_upper(str1); // st原创 2016-09-18 23:21:54 · 1411 阅读 · 0 评论