标题 |
阅读 |
评论 |
转发 |
发布日期 |
Item 40: Use multiple inheritance judiciously |
292 |
0 |
0 |
2013-01-11 |
|
Item 39: Use private inheritance judiciously |
669 |
0 |
0 |
2013-01-11 |
|
Item 38: Model "has-a" or "is-implemented-in-terms-of" through composition |
352 |
0 |
0 |
2013-01-11 |
|
Item 37: Never redefine a function's inherited default parameter value |
253 |
0 |
0 |
2013-01-11 |
|
Item 36: Never redefine an inherited non-virtual function |
328 |
0 |
0 |
2013-01-11 |
|
Item 35: Consider alternatives to virtual functions |
322 |
0 |
0 |
2013-01-11 |
|
Item 34: Differentiate between inheritance of interface and inheritance of implementation |
232 |
0 |
0 |
2013-01-11 |
|
Item 32: Make sure public inheritance models "is-a." |
308 |
0 |
0 |
2013-01-11 |
|
Item31: Minimize compilation dependencies between files. |
408 |
0 |
0 |
2013-01-10 |
|
Item 30: Understand the ins and outs of inlining. |
325 |
0 |
0 |
2013-01-10 |
|
Item29: Strive for exception-safe code. |
327 |
0 |
0 |
2013-01-10 |
|
Item 28: Avoid returning "handles" to object internals. |
217 |
0 |
0 |
2013-01-10 |
|
Item 27: Minimize casting. |
231 |
0 |
0 |
2013-01-10 |
|
Item 25: Consider support for a non-throwing swap |
404 |
0 |
0 |
2013-01-08 |
|
Item 24: Declare non-member functions when type conversions should apply to all parameters |
382 |
0 |
0 |
2013-01-08 |
|
Item 23: Prefer non-member non-friend functions to member functions |
325 |
0 |
0 |
2013-01-07 |
|
Item 22: Declare data members private |
236 |
0 |
0 |
2013-01-07 |
|
Item 21: Don't try to return a reference when you must return an object |
341 |
0 |
0 |
2013-01-07 |
|
Item 20: Prefer pass-by-reference-to-const to pass-by-value |
245 |
0 |
0 |
2013-01-07 |
|
Item 19: Treat class design as type design |
288 |
0 |
0 |
2013-01-07 |
|