01 2015 档案

摘要:Python实现constPython实现constpython语言本身没有提供const,但实际开发中经常会遇到需要使用const的情形,由于语言本身没有这种支出,因此需要使用一些技巧来实现这一功能定义const类如下import sysclass Const(object): class ... 阅读全文
posted @ 2015-01-27 12:14 current 阅读(8441) 评论(0) 推荐(1) 编辑
摘要:Effective_CPP_Note2Effective C++ Notes Part IIPart II. Constructors, Destructors and Assignment Operators5. Know what functions C++ silently writes an... 阅读全文
posted @ 2015-01-16 12:01 current 阅读(597) 评论(0) 推荐(0) 编辑
摘要:##Effective C++ Notes### Part I. Accustoming Yourself to C++####1. View C++ as a federation of languages- C++ is a multi-paradigm programming language... 阅读全文
posted @ 2015-01-08 00:53 current 阅读(248) 评论(0) 推荐(0) 编辑