boost常用清单

作者: 遇见你_17be | 来源:发表于2019-02-23 17:48 被阅读63次

智能指针:

主要作用是能自动释放对象内存

shared_ptr、scoped_ptr、intrusive_ptr、weak_ptr、shared_array、scoped_array

https://blog.csdn.net/dongguan131/article/details/6683843  

boost作用域指针    https://blog.csdn.net/peterpan_hai/article/details/51704588

boost::scoped_array   https://blog.csdn.net/ajioy/article/details/7353477

boost共享指针    https://www.cnblogs.com/helloamigo/p/3575098.html

boost共享数组    https://blog.csdn.net/peterpan_hai/article/details/51726690

boost弱指针     https://blog.csdn.net/acs713/article/details/29175231

boost介入式智能指针intrusive_ptr   https://blog.csdn.net/caimouse/article/details/8631381

boost指针容器    http://blog.chinaunix.net/uid-29073321-id-5585171.html

容器:

boost::array    https://blog.csdn.net/huang_xw/article/details/8248361

boost::unordered_set  无序

boost::unordered_multiset 无序,可重复

boost::unordered_map   无序

boost::unordered_multimap   无序,可重复

boost::multi_index::multi_index_container  多索引容器

boost::bimap   双向索引容器

asio:

异步io,异步网络,定时器

boost asio定时器    https://www.xuebuyuan.com/3255666.html

boost asio udp    https://www.cnblogs.com/gccbuaa/p/6721735.html

boost asio tcp     https://www.cnblogs.com/findumars/p/7257505.html

boost asio http      post   https://www.cnblogs.com/linbc/p/5034286.html

函数对象:

绑定函数,函数指针

https://blog.csdn.net/delphiwcdj/article/details/9564659

boost::bind    http://www.cnblogs.com/lidabo/p/8350912.html

boost::ref()    处理引用参数

boost::function   定义函数指针

boost::lambda    匿名函数

事件处理:

信号/槽,连接

boost 事件处理     https://blog.csdn.net/rain_qingtian/article/details/10750423

boost::signal    信号可以连接多个槽函数

boost::signals::connection   管理单个连接

字符串:

boost 字符串   https://www.cnblogs.com/TianFang/archive/2013/02/04/2891538.html

大小写转换    to_upper()to_upper()以及xxx_copy的版本

去除字符串首位的空白字符      trim()trim_left()trim_right()和他们的xxx_copy和xxx_if版本。

starts_with() 、ends_with() 、contains() 、equals() 、lexicographical_compare() 、all()

查找   find()、first()find_last()find_nth() 、find_head()find_tail()find_token()find_regex()

查找、替换   replace_all() 、replace_first()、 replace_last() 以及它们的变体,加上erase,共有20多种

切割   split函数

字符串拼接    join函数

线程:

线程同步,线程管理

boost 线程    https://www.cnblogs.com/renyuan/p/6613638.html

boost 线程同步   https://www.cnblogs.com/milanleon/p/7591530.html

boost线程管理     http://zh.highscore.de/cpp/boost/multithreading.html

进程间通信:

共享内存,映射

boost 进程通信    https://blog.csdn.net/gubenpeiyuan/article/details/24397599

文件系统:

路径,目录,文件,文件流

boost 文件系统     https://www.cnblogs.com/liaocheng/p/4233839.html

日志:

https://blog.csdn.net/s_lisheng/article/details/73850608

参数配置:

配置文件,命令行参数解析

boost 参数解析   https://blog.csdn.net/lee353086/article/details/42874971

boost 配置文件    https://www.cnblogs.com/lidabo/p/3906053.html

boost::program_options

数据序列化

https://www.boost.org/doc/libs/1_51_0/libs/serialization/doc/tutorial.html

序列化就是把类对象转换为字节流,反序列化就是把字节流转换为类对象。

相关文章

网友评论

    本文标题:boost常用清单

    本文链接:https://www.haomeiwen.com/subject/ezmuyqtx.html