Template:cpp/thread/scoped lock/dsc constructor