boost学习
记录学习boost的点滴
github/gongluck
这个作者很懒,什么都没留下…
展开
-
boost: timer
Code#include <Windows.h>#include <iostream>#include <boost/timer.hpp>using namespace std;using namespace boost;int main(){ timer t;//构造完成就开始计时 cout << "max ...原创 2018-03-28 22:25:39 · 354 阅读 · 0 评论 -
boost: atomic
Code#include <iostream>#include <boost/atomic.hpp>using namespace std;using namespace boost;int main(){ atomic<int> a(10); assert(a == 10); atomic<long>...原创 2018-03-24 16:59:21 · 708 阅读 · 0 评论