上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 127 下一页

2016年8月7日

摘要: 使用vc2015进行C++ 模板的学习实验和笔记 用简单示例学习了解STL template大部头理论书 讲解各种规则和各种规则例外的解决办法 集中精力在20%的规则中的阴暗角落而不是80%实践中要注意的东西 https://github.com/wuye9036/CppTemplateTutori 阅读全文
posted @ 2016-08-07 14:07 itdef 阅读(289) 评论(0) 推荐(0)

2016年8月6日

摘要: #include <iostream>#include <typeinfo> void foo(){ std::cout << "foo() called" << std::endl;} typedef void FooT(); // FooT is a function type, // the 阅读全文
posted @ 2016-08-06 18:28 itdef 阅读(273) 评论(0) 推荐(0)
摘要: c++ template学习记录 使用模板将实际类型的指针进行封装 当变量退出作用域 自动delete 阅读全文
posted @ 2016-08-06 17:40 itdef 阅读(419) 评论(0) 推荐(0)

2016年7月30日

摘要: // 11111.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include template class AccumulationTraits; template class AccumulationTraits { public: typedef int Acct; static Acct zero() { r... 阅读全文
posted @ 2016-07-30 21:42 itdef 阅读(296) 评论(0) 推荐(0)

2016年7月19日

摘要: 版本2 阅读全文
posted @ 2016-07-19 17:50 itdef 阅读(1323) 评论(1) 推荐(0)

2016年6月28日

摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=10 9. A boost::asio network wrapper (TCP) 现在我们了解asio和TCP网络 阅读全文
posted @ 2016-06-28 11:45 itdef 阅读(1678) 评论(0) 推荐(0)

2016年6月27日

摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=9 8. Networking basics: binary protocol sending and receiv 阅读全文
posted @ 2016-06-27 17:26 itdef 阅读(2157) 评论(0) 推荐(0)
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=8 7. Networking basics: connectors and acceptors (TCP)我们来学 阅读全文
posted @ 2016-06-27 13:03 itdef 阅读(2288) 评论(0) 推荐(0)

2016年6月26日

摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting- started-with-boostasio?pg=7 6 定时器 boost::asio 提供了一个 deadline_timer class来提供同步与异步的接口。 阅读全文
posted @ 2016-06-26 17:27 itdef 阅读(1246) 评论(0) 推荐(0)
摘要: http://www.gamedev.net/blog/950/entry-2249317-a-guide-to-getting-started-with-boostasio?pg=6 5. Error handling 接下来我们需要注意的话题是错误处理。换句话说就是函数抛出异常时发生了什么 Bo 阅读全文
posted @ 2016-06-26 16:52 itdef 阅读(2808) 评论(0) 推荐(0)
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 127 下一页

导航