- 博客(2)
- 收藏
- 关注
转载 Concept check
Usually for every function, there's always a precondition to make it work smoothly, and lots of books tell us to verify these preconditions (use assert(...) or something else). In most cases they...
2008-12-05 11:03:00
85
转载 Allocator inSGI STL
Allocator // new operator can be divided into 3 steps. 1. Allocate the memory(use malloc). 2. Cast the pointer. 3. Construct the object(use placement new, new (p) T(…...
2008-11-18 19:43:00
82
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人