上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: boost exception provides a new exception type, that lets you add data to an exception after it has been thrown. output: unction write_lots_of_zeros() 阅读全文
posted @ 2019-08-11 16:23 c++11 阅读(1239) 评论(0) 推荐(0) 编辑
摘要: boost::system::error_code is the most basic class in Boost.System; it represents operating system-specific errors. Because operating systems typically 阅读全文
posted @ 2019-08-11 15:48 c++11 阅读(1468) 评论(0) 推荐(0) 编辑
摘要: Boost.Lockfree provides thread-safe and lock-free containers. Containers from this library can be accessed from multiple threads without having to syn 阅读全文
posted @ 2019-08-10 11:34 c++11 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: boost::atomic can be used to create atomic variables. They are called atomic variables because all access is atomic. Boost.Atomic is used in multithre 阅读全文
posted @ 2019-08-09 18:46 c++11 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 1. thread The name of the function that the new thread should execute is passed to the constructor of boost::thread. Once the variable t is created, t 阅读全文
posted @ 2019-08-08 18:43 c++11 阅读(373) 评论(0) 推荐(0) 编辑
摘要: boost::function to encapsulate function pointers. 1. function boost::function makes it possible to define a pointer to a function with a specific sign 阅读全文
posted @ 2019-08-06 17:46 c++11 阅读(294) 评论(0) 推荐(0) 编辑
摘要: In functional programming, functions are objects and can be processed like objects. With Boost.Phoenix, it is possible for a function to return anothe 阅读全文
posted @ 2019-08-06 16:07 c++11 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Boost.Timer provides clocks to measure code performance. At first, it may seem like this library competes with Boost.Chrono. However, while Boost.Chro 阅读全文
posted @ 2019-08-05 19:34 c++11 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1. local_date_time The constructor of boost::local_time::local_date_time expects its first parameter to be an object of type boost::posix_time::ptime 阅读全文
posted @ 2019-08-05 18:20 c++11 阅读(202) 评论(0) 推荐(0) 编辑
摘要: The class boost::posix_time::ptime defindes a location-independent time. It uses the type boost::gregorian::date, but also stores a time. 1. ptime To 阅读全文
posted @ 2019-08-05 17:12 c++11 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页