history网志归档
2005
十二月
十一月
- Effective C++ Note 26: Guard against potential ambiguity
- 一夜狂风
- Effective C++ Note 25: Avoid overloading on a pointer and a numberical type
- Effective Note 24: function overloading vs parameter defaulting
- Effective C++ Note 23: Don't try to return a reference when you must return an object
- Effective C++ Note 22: Prefer pass-by-reference to pass-by-value
- Effective C++ Note 21: Use const whenever possible
- Effective C++ Note 20: Avoid data members in the public interface
- Effective C++ Note 19: member functions, non-member functions and friend functions
- Effecitve C++ Note 18: Strive for class interfaces that are complete and minimal
- 一些忠告
- Effective C++ Note 17: Check for assignment to self in operator=
- Effective C++ Note 16: assign to all data members in operator =
- Effective C++笔记15: 让 operator = 返回一个指向 *this 的引用
- Effective C++ 笔记14: 将基类的析构函数声明为虚函数
- Effective C++ 笔记13: 成员变量的初始化顺序
- MM's PC repaired & Father of C++ coming to THU
- Effective C++ 笔记12: 在 constructors 中对成员变量采取初始化而不要使用赋值
- Effective C++ 笔记11: 为有指针成员的类重载 copy constructor 跟 operator =
- 有点恐怖的感觉
- Effective C++ 笔记10: 在重载操作符 new 的同时重载 delete
- Effective C++ 笔记9: 重载操作符 new 时不要把“正常”的 new 格式给覆盖掉
- Effective C++ 笔记8: 重载 new 和 delete 时要遵从的惯例
- Effective C++ 笔记7: 对内存不足的处理
- Effective C++ 笔记6: 记得在析构函数中把指针类型的成员变量 delete 掉
- Effective C++ 笔记5: 使用相同形式的 new 和 delete
- Effective C++ 笔记4: 用 // 代替 /* */ 做注释
- Effective C++ 笔记3: 用 new和delete 代替 malloc和free
- Effective C++ 笔记2: 用<iostream>代替<stdio.h>
- Effective C++ 笔记1: 用const和inline代替define
十月
九月
七月
六月
五月