摘要: 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 阅读(393) 评论(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) 编辑
摘要: To create a date, use the class boost::gregorian::date 1. date boost::gregorian::date provides several constructors to create dates. The most basic co 阅读全文
posted @ 2019-08-05 12:50 c++11 阅读(726) 评论(0) 推荐(0) 编辑