Template:cpp/thread/promise/dsc set value at thread exit