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