C++ local variable destruction order

Within each category of storage classes (except dynamically allocated objects), objects are destructed in the reverse order of construction.

Leave a Comment