I have code that controls a mutex lock/unlock based on scope:
void PerformLogin() { ScopeLock < Lock > LoginLock( &m_LoginLock ); doLoginComma
Yes, destructors are called in the reverse order of construction.