摘要:
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
阅读(593)
评论(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
阅读(394)
评论(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
阅读(264)
评论(0)
推荐(0)

浙公网安备 33010602011771号