I have code that controls a mutex lock/unlock based on scope:
void PerformLogin() { ScopeLock < Lock > LoginLock( &m_LoginLock ); doLoginComma
Yes, it is. In any particular scope local objects are destroyed in the reverse order that they were constructed.