mirror of
https://github.com/microsoft/GSL.git
synced 2025-04-03 09:28:35 -04:00
where an action is provided to final action to execute at end of scope and that action throws, because final action's destructor is marked noexcept, the program will terminate. Instead, allow final action's destructor to be noexcept dependent upon whether the action throws.