- 博客(38)
- 收藏
- 关注
原创 *Effective C++ 31. Minimize complilation dependencies between files(handle class & interface class)
handle class & interface class
2017-10-31 09:57:00 248
原创 Leetcode 51 N-Queens
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return all distinct solutions to the n-queens puzzle.Each
2017-10-30 21:45:32 169
原创 Effective C++ 25. Consider support for a non-throwing swap
consider support for a non-throwing swap
2017-10-28 10:36:16 201
原创 Effecitive C++ 28. Avoid returning "handle" to object internals
avoid returning "handle" to object inernals
2017-10-27 19:26:29 170
原创 Effective C++ 23. Prefer non-member non-friend functions to member functions
prefer non-memer non-friend functions to member functions
2017-10-27 10:00:19 185
原创 Effective C++ 18. Make interfaces easy to use correctly and hard to use incorrectly
Make interfaces easy to use correctly and hard to use incorrectly
2017-10-26 16:41:19 199
原创 Effective C++ 17. Store newed objects in smart pointers in standalone statements
store newed objects in smart pointers in standalone statements.
2017-10-26 15:26:08 161
原创 Effective C++ 14. Think carefully about copying behavior in resource-managing classes
Think carefully about copying behavior in resource-managing classes
2017-10-26 11:06:20 207
原创 Effective C++ 12. Copy all parts of an object
copy all parts of an object
2017-10-26 09:52:58 217
原创 Effective C++ 11. Handle assignment to self in operator=
Handle assignment to self in operator=
2017-10-26 09:16:21 425
原创 Effective C++ 8. Prevent exceptions from leaving destructors
Prevent exception from leaving destructors
2017-10-26 08:45:08 198
原创 7. Declare destructors virtual in polymorphic base classes.
declare destructors virtual in polymorphic base classes.
2017-10-25 10:40:49 221
原创 6. Explicitly disallow the use of compiler generated functions you do not want
explicity disallow the use of compiler generated functions you do not want
2017-10-25 10:27:53 341
原创 Effective C++ 24. Declare non-member functions when type convesions should apply to all parameters
Declare non-member functions when type convesions should apply to all parameters
2017-10-22 21:29:33 221
原创 Effective C++ 20. Prefer pass-by-reference-to-const to pass-by-value
Prefer pass-by-reference-to-const to pass-by-value
2017-10-22 20:28:03 193
原创 Effective C++ 2. Prefer consts, enums, and inlines to #defines
consts & enums & inlines
2017-10-20 16:24:31 198
原创 Effective 49 learn to deciper STL-related compiler diagnostics
compiler diagnostics
2017-10-16 20:43:53 281
原创 Effective STL appendix A Locales and Case-Insensitive String Comparisons
locales and case-insensitive string comparisons
2017-10-16 19:58:31 170
原创 Effective STL 47 Avoid producing write-only code
avoid producing write-only code
2017-10-16 16:19:17 265
原创 Effective STL 46 Consider function objects instead of functions as algorithm parameters
function objects
2017-10-16 15:40:08 185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人