C++相談室 part85
■ このスレッドは過去ログ倉庫に格納されています
0289デフォルトの名無しさん
2010/10/19(火) 00:24:16These objects
are destroyed in the reverse order of the completion of their constructor or of the completion of their
dynamic initialization.
12.4 Destructors
6.
All destructors are called as if they were referenced with a qualified name, that is, ignoring any
possible virtual overriding destructors in more derived classes. Bases and members are destroyed in the
reverse order of the completion of their constructor (see 12.6.2).
15.2 Constructors and destructors
As control passes from a throw-expression to a handler, destructors are invoked for all automatic objects
constructed since the try block was entered. The automatic objects are destroyed in the reverse order of the
completion of their construction.
■ このスレッドは過去ログ倉庫に格納されています