摘要:
boost::logic::tribool is similar to bool. However, while bool can distinguish two states, boost::logic::tribool handles three. 输出为: true indeterminate 阅读全文
摘要:
Boost PropertyTree provides a tree structure to store key/value pairs. Tree structures means that a trunk exists with numerous branches that have nume 阅读全文
摘要:
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 阅读全文
摘要:
Boost Any provides the class boost::any which like JavaScript variables can store arbitrary types of information. Variables of type boost::any are not 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Boost Container provides additional advantages: (1) The interface of the containers resemble those of the containers in the C++11 standard library. (2 阅读全文
摘要:
Boost MultiArray is a library that simplifies using arrays with multiple dimensions. 1. boost::multi_array is a template expecting two parameters: The 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文