`
nuaa_liu
  • 浏览: 25374 次
  • 性别: Icon_minigender_1
  • 来自: 南京
最近访客 更多访客>>
社区版块
存档分类
最新评论

boost::string

 
阅读更多

<boost/algorithm/string.hpp>
<boost/algorithm/string/case_conv.hpp>
<boost/algorithm/string/classification.hpp>
<boost/algorithm/string/compare.hpp>
<boost/algorithm/string/concept.hpp>
<boost/algorithm/string/constants.hpp>
<boost/algorithm/string/erase.hpp>
<boost/algorithm/string/find.hpp>
<boost/algorithm/string/find_format.hpp>
<boost/algorithm/string/find_iterator.hpp>
<boost/algorithm/string/finder.hpp>
<boost/algorithm/string/formatter.hpp>
<boost/algorithm/string/iter_find.hpp>
<boost/algorithm/string/join.hpp>
<boost/algorithm/string/predicate.hpp>
<boost/algorithm/string/regex.hpp>
<boost/algorithm/string/regex_find_format.hpp>
<boost/algorithm/string/replace.hpp>
<boost/algorithm/string/sequence_traits.hpp>
<boost/algorithm/string/split.hpp>
<boost/algorithm/string/std_containers_traits.hpp>
<boost/algorithm/string/trim.hpp>
<boost/algorithm/string_regex.hpp>

 
分享到:
评论

相关推荐

    boost::asio::serial下6个工程演示多种串口读取写入方式方法

    boost::asio::serial下6个工程演示多种串口读取写入方式方法,包含simple,with_timeout,async,callback,qt_integration,stream 等多个工程演示多种方式读取,写入串口,char,string ,buffer[]等多种数据格式。

    C++之boost::array的用法

    代码如下:#include &lt;string&gt;  #include   #include &lt;boost&gt;  #include   using namespace std;  int main()  {   boost::array&lt;int&gt; array_temp = {{12, 8, 45, 23, 9}};   sort(array_temp.begin(), ...

    使用c++实现boost::any类

    使用c++实现boost::any类 any类可以存放任意类型数据,如: void test_any() { any any_a1(123); int a2 = any_cast(any_a1); int* p_a2 = any_cast(&any_a1); std::cout *p_a2="*p_a2&lt;&lt;std::endl; any any_b1...

    boost::spirit解析表达式domo

    C++实现的表达式解析,本程序是利用强大的boost::spirit库实现的。这个东西实在是太强大了。 程序运行结果如下: -----------表达式解析--------- 已定义的函数有:PI,SIN,COS,TAN,,ABS,EXP,LOGN,POW,SQRT,FORMAT,...

    C++ string格式化输出方式

    利用boost的format 头文件 #include &lt;boost&gt; boost::format f = boost::format("%.2f %s %d") % 1.234 %"123" ; std::string s = f.str(); 等同于 boost::format f = boost::format("%.2f %s %d"); f % 1.234 %...

    serial sensordemo.rar

    博文《Linux下libserial库对接串口传感器的实例一》的配套程序,有定长,定时接受传感器的二个例子和一个...解析数据用的是BOOST::string。解析完后使用BOOST::signal把数据串接起来。 工程使用codeblocks打开。

    fhircpp:fhircpp-HL7 FHIR的C ++ API

    boost :: multiprecision :: cpp_dec_float_50 完毕 完毕 乌里 std :: string 完毕 base64Binary std :: string 完毕 立即的 boost :: locale :: date_time 完毕 日期 boost :: locale :: date_time 完毕 约会...

    CPP转Json字符串

    标准json字符串编码使用unicode,即boost 提供的 中拼接起来的字符串采用unicode字符集编码,而很多网页采用编码为utf8。 这个库字符编码采用系统编码,系统采用utf8字符集的话拼接起来字符串就是ut8了;另外在博客...

    st_asio_wrapper一组包装boost.asio的c/s框架(2.3版)

    这样带来一个问题,原来所有的接口中的boost::shared_ptr&lt;std::string&gt;数据类型,全部换成了std::string引用,升级到2.3的朋友要注意修改之前重写虚函数的签名,如果不改,则重写肯定不生效,变成了新增加虚函数了...

    st_asio_wrapper——一组包装boost.asio的c/s框架(2.3版)

    这样带来一个问题,原来所有的接口中的boost::shared_ptr&lt;std::string&gt;数据类型,全部换成了std::string引用,升级到2.3的朋友要注意修改之前重写虚函数的签名,如果不改,则重写肯定不生效,变成了新增加虚函数了...

    HelloWorld:Hello World 演示测试项目

    你好,世界Hello World 演示测试项目...void fun2 ( std::string str ) { std::cout &lt;&lt; " Fun2 : " &lt;&lt; str&gt; f( boost::bind( &CB::fun2, this, _1 ) );callback_["A"] = f ; boost::get&lt; boost&gt; &gt;(callbac

    C++智能指针详解.pdf

    } std::string info_extend; int number; }; 2、std::auto_ptr std::auto_ptr 属于 STL,当然在 namespace std 中,包含头⽂件 #include&lt;memory&gt; 便可以使⽤。std::auto_ptr 能够⽅便的管理单个堆 内存对象。 我们...

    Linux下Boost序列化问题解决

    由于项目需要,要使用boost,所以在网上找了一些例子帮助理解,其中遇到很多问题,再次总结记录一下。... std::stringstream ss; void save() { boost::archive::text_oarchive oa(ss); boost::array&lt;

    《C++String深入详解2.0版》PDF

    2.1.1 boost.algorithm.string是什么? 23 2.1.2 相关 23 2.1.3 boost.range导论 23 2.1.4 boost.regex导论 23 2.1.5 boost.algorithm.string的DNA 24 2.2 boost字符串算法解密 24 2.2.1 修剪(trim.hpp) 24 2.2.2 ...

    belle:使用Boost.Beast和Boost.ASIO的C ++ 17中的HTTP Websocket库

    美女使用Boost.Beast和Boost.ASIO的C ++ 17中的HTTP / Websocket库。... 它旨在拥有一个直观的API,合理的默认值和出色的性能。...# include &lt; string&gt;int main (){ // init the server with local address

    《深入学习c++string》2.1版

    2.1.5 boost.algorithm.string的DNA 24 2.2 boost字符串算法解密 24 2.2.1 修剪(trim.hpp) 24 2.2.2 转换(case_conv.hpp) 24 2.2.3 判断式、断言函数(predicate.hpp)【Predicates】 24 2.2.4 查找 24 2.2.5 删除...

    json.hpp:使用Boost.Spirit的小型C ++ JSON解析库

    json.hpp-使用Boost.Spirit的C ++ JSON解析 json.hpp是使用一个小(小于100行代码的)C ++ JSON解析库用于解析,并为数据... std::string json_string{ " { \" names \" : [ " " { \" name \" : \" Chris \" }, "

    基于内容的垃圾邮件过滤

    #include &lt;string&gt; #include #include #include #include "spamtrain.h" #define MAX(a,b) (a&gt;=b)?a:b; #define MIN(a,b) (a)?a:b; using namespace std; using namespace boost::filesystem; using ...

    hana:您的元编程标准库

    助推汉娜 您的元编程标准库总览# include &lt; boost&gt;# include &lt; cassert&gt;# include &lt; string&gt;namespace hana = boost::hana;using namespace hana ::literals ;struct Fish { std::string name; };struct Cat { std::...

    boost入门示例,简单易用

    boost基本入门使用示例,简单,一看就懂! 部分代码如下: int a = lexical_cast("123"); double b = lexical_cast("123.0123456789"); string s0 = lexical_cast&lt;string&gt;(a);

Global site tag (gtag.js) - Google Analytics