上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: boost::logic::tribool is similar to bool. However, while bool can distinguish two states, boost::logic::tribool handles three. 输出为: true indeterminate 阅读全文
posted @ 2019-07-02 19:25 c++11 阅读(488) 评论(0) 推荐(0)
摘要: Boost PropertyTree provides a tree structure to store key/value pairs. Tree structures means that a trunk exists with numerous branches that have nume 阅读全文
posted @ 2019-07-01 19:39 c++11 阅读(2688) 评论(0) 推荐(0)
摘要: Boost Variant resembles union. You can store values of different types in a boost::variant. 1. boost::variant is a template, at least one parameter mu 阅读全文
posted @ 2019-06-20 19:30 c++11 阅读(589) 评论(0) 推荐(0)
摘要: Boost Any provides the class boost::any which like JavaScript variables can store arbitrary types of information. Variables of type boost::any are not 阅读全文
posted @ 2019-06-20 14:07 c++11 阅读(391) 评论(0) 推荐(0)
摘要: boost::tuple is a generalized version of std::pair. While std::pair can only store exactly two values, boost::tuple lets you choose how many values to 阅读全文
posted @ 2019-06-20 11:53 c++11 阅读(259) 评论(0) 推荐(0)
摘要: boost::optional can be used for optional return values. 1. optional return values with boost::optional boost::optional is a template that must be inst 阅读全文
posted @ 2019-06-19 17:12 c++11 阅读(1811) 评论(0) 推荐(1)
摘要: Boost Container provides additional advantages: (1) The interface of the containers resemble those of the containers in the C++11 standard library. (2 阅读全文
posted @ 2019-06-19 15:44 c++11 阅读(1064) 评论(0) 推荐(0)
摘要: Boost MultiArray is a library that simplifies using arrays with multiple dimensions. 1. boost::multi_array is a template expecting two parameters: The 阅读全文
posted @ 2019-06-19 12:13 c++11 阅读(570) 评论(0) 推荐(0)
摘要: 1. the advantages of intrusive container (1) Intrusive containers don't allocate memory dynamically. A call to push_back() dosen't lead to a dynamic a 阅读全文
posted @ 2019-06-14 19:14 c++11 阅读(429) 评论(0) 推荐(0)
摘要: 1. using boost::heap::priority_queue In general this class behaves like std::priority_queue, except it allows you to iterate over elements. The order 阅读全文
posted @ 2019-06-14 18:57 c++11 阅读(1088) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页