摘要:
1. Type Casting/* dynamic_cast: Can be used only with pointers and references to class; Base-to-derived conversions are not allowed unless the base cl... 阅读全文
摘要:
1. Function TemplatetemplateT1 max( T2& a, T3& b){ ... }// explicit call::max(1, 2.3);//or::max(1, 2.3); // return type is int // string literals as a... 阅读全文
摘要:
1. auto,自动检测变量初始化类型,有些地方用起来特别方便std::map addrBooks;// some inserting ...// iterate elemants// way before c11std::map::iterator it = addrBooks.begin();/... 阅读全文
摘要:
1. How to use epoll ? A complete example in c.Link2. 14种时间复杂度对应的相关算法.Link3. Large-Scale C++ Software Design4. 14 lessons after 5 years of professional... 阅读全文
摘要:
1. forward declaration// Functionvoid fun(int); 在此之后的代码可以引用fun,而fun的定义必须在某个地方提供。// Variables may have only forward declaration and lack definition// D... 阅读全文