| 标题 |
阅读 |
评论 |
转发 |
发布日期 |
|
Item 40: Use multiple inheritance judiciously |
323 |
0 |
0 |
2013-01-11 |
|
|
Item 39: Use private inheritance judiciously |
707 |
0 |
0 |
2013-01-11 |
|
|
Item 38: Model "has-a" or "is-implemented-in-terms-of" through composition |
400 |
0 |
0 |
2013-01-11 |
|
|
Item 37: Never redefine a function's inherited default parameter value |
283 |
0 |
0 |
2013-01-11 |
|
|
Item 36: Never redefine an inherited non-virtual function |
363 |
0 |
0 |
2013-01-11 |
|
|
Item 35: Consider alternatives to virtual functions |
353 |
0 |
0 |
2013-01-11 |
|
|
Item 34: Differentiate between inheritance of interface and inheritance of implementation |
265 |
0 |
0 |
2013-01-11 |
|
|
Item 32: Make sure public inheritance models "is-a." |
335 |
0 |
0 |
2013-01-11 |
|
|
Item31: Minimize compilation dependencies between files. |
455 |
0 |
0 |
2013-01-10 |
|
|
Item 30: Understand the ins and outs of inlining. |
422 |
0 |
0 |
2013-01-10 |
|
|
Item29: Strive for exception-safe code. |
397 |
0 |
0 |
2013-01-10 |
|
|
Item 28: Avoid returning "handles" to object internals. |
417 |
0 |
0 |
2013-01-10 |
|
|
Item 27: Minimize casting. |
276 |
0 |
0 |
2013-01-10 |
|
|
Item 25: Consider support for a non-throwing swap |
455 |
0 |
0 |
2013-01-08 |
|
|
Item 24: Declare non-member functions when type conversions should apply to all parameters |
428 |
0 |
0 |
2013-01-08 |
|
|
Item 23: Prefer non-member non-friend functions to member functions |
374 |
0 |
0 |
2013-01-07 |
|
|
Item 22: Declare data members private |
275 |
0 |
0 |
2013-01-07 |
|
|
Item 21: Don't try to return a reference when you must return an object |
380 |
0 |
0 |
2013-01-07 |
|
|
Item 20: Prefer pass-by-reference-to-const to pass-by-value |
278 |
0 |
0 |
2013-01-07 |
|
|
Item 19: Treat class design as type design |
321 |
0 |
0 |
2013-01-07 |
|