| 标题 |
阅读 |
评论 |
转发 |
发布日期 |
|
section17 tools for large programs_多重继承 |
445 |
0 |
0 |
2012-12-26 |
|
|
Item 17: Store newed objects in smart pointers in standalone statements. |
331 |
0 |
0 |
2012-12-24 |
|
|
Item 16: Use the same form in corresponding uses of new and delete. |
363 |
0 |
0 |
2012-12-24 |
|
|
Item 15: Provide access to raw resources in resource-managing classes. |
316 |
0 |
0 |
2012-12-24 |
|
|
Item 14: Think carefully about copying behavior in resource-managing classes. |
799 |
0 |
0 |
2012-12-24 |
|
|
Item 13: Use objects to manage resources. |
227 |
0 |
0 |
2012-12-24 |
|
|
Item 12: Copy all parts of an object |
260 |
0 |
0 |
2012-12-22 |
|
|
Item 11: Handle assignment to self in operator= |
287 |
0 |
0 |
2012-12-22 |
|
|
Item 10: Have assignment operators return a reference to *this |
209 |
0 |
0 |
2012-12-22 |
|
|
Item 9: Never call virtual functions during construction or destruction |
228 |
0 |
0 |
2012-12-21 |
|
|
Item 8: Prevent exceptions from leaving destructors |
217 |
0 |
0 |
2012-12-21 |
|
|
Item 7: Declare destructors virtual in polymorphic base classes |
310 |
0 |
0 |
2012-12-21 |
|
|
Item 6: Explicitly disallow the use of compiler-generated functions you do not want |
276 |
0 |
0 |
2012-12-21 |
|
|
Item 5: Know what functions C++ silently writes and calls |
390 |
0 |
0 |
2012-12-19 |
|
|
Item 4: Make sure that objects are initialized before they're used |
372 |
0 |
0 |
2012-12-19 |
|
|
Item 3: Use const whenever possible |
310 |
0 |
0 |
2012-12-12 |
|
|
Chapter 2. Principles in Refactoring |
436 |
0 |
0 |
2012-06-03 |
|
|
写在前面---Martin Fowler的重构 |
298 |
0 |
0 |
2012-06-03 |
|