自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

zhang的专栏

edit just for myself

  • 博客(3)
  • 收藏
  • 关注

转载 结构体如果没有重载比较运算符,不能直接进行比较

开始。#include struct dt64bit{ int m_date; int m_time;public: dt64bit() :m_date(0), m_time(0){} dt64bit(int _date, int _time) :m_date(_date), m_time(_time){}// bool operator<(cons

2016-01-29 00:49:54 1894 1

原创 cpplinq中发现的const用法

开始。#include #include #include "cpplinq.hpp"class tm32bit{public: tm32bit(int _time = 0) :m_time(_time) {} bool operator<(const tm32bit& _that) /* */ { return m_time < _that.m_time ? tr

2016-01-28 21:41:20 864

转载 boost::asio::io_service和io_service::work和boost::thread_group配合使用

学习boost的//注释中的Page是指:Boost程序库完全开发指南(第三版)#include //Page542: 在头文件前定义此宏,它就会向标准流cerr输出运行日志。//#define BOOST_ASIO_ENABLE_HANDLER_TRACKING#include #include long boost_thread_id_to_long(boost::thr

2016-01-12 16:32:39 5672

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除