... from the bottom up: first the base, then the members, and then the derived class itself. They are destroyed in the opposite order: first the derived class itself, then the members, and then the ... bedetected is at the first point of use of the template for a particular template argument. That point is The C++ Programming Language, Third Edition by Bjarne Stroustrup. Copyright ©19 97 by AT&T.Published ... the design of the standard containers, which rely on a template argument to specify default values (§16.3.4). The C++ Programming Language, Third Edition by Bjarne Stroustrup. Copyright ©1997...