c++ faq ----------- comp.lang.c++
一、section[10] constructor
10.9 ---------- whether the complier optimize away the tempory object when a function return a object by value and how
10.21---------- Why am I getting an error after declaring a Foo object via Foo x(Bar()) / Foo x()?
二、section[11] decostuctor (never explicitly call a deconstructor)
11.6 ----------- What if I want a local to "die" before the close } of the scope in which it was created? Can I call a destructor on a local if I really want to?
三、section[36] serialization and unserialization
四、Others
39.6 ----------- What should be done with macros that need to paste two tokens together?
use two-layer helper maros
39.14 ---------- Why can't I put a forward-declared class in a std::vector<>?
1. Because the std::vector<> template needs to know the sizeof() its contained elements, plus the std::vector<> probably
accesses members of the contained elements (such as the copy constructor, the destructor, etc.).
2. Whenever you use a class as a template parameter, the declaration of that class must be complete and not simply forward declared
40.1 ------------ How can I generate HTML documentation for my classes?