分类: C/C++
2008-09-05 15:53:13
|
friend functions can also be defined inside classes. When they are, they're also implicitly declared inline.
both inline functions and templates are typically defined in header files,Inlining in most C++ programs is a compile-time activity
If an exception is thrown during construction of an object, any parts of the object that have already been fully constructed are automatically destroyed.