| @@ -29,7 +29,7 @@ namespace sr | |||
| struct scope_exit_strategy | |||
| { | |||
| constexpr bool should_execute() const | |||
| bool should_execute() const noexcept | |||
| { | |||
| return true; | |||
| } | |||
| @@ -30,7 +30,7 @@ namespace sr | |||
| struct scope_fail_strategy | |||
| { | |||
| bool should_execute() const | |||
| bool should_execute() const noexcept | |||
| { | |||
| return uncaught_exceptions() > m_uncaught_on_creation; | |||
| } | |||
| @@ -30,7 +30,7 @@ namespace sr | |||
| struct scope_success_strategy | |||
| { | |||
| bool should_execute() const | |||
| bool should_execute() const noexcept | |||
| { | |||
| return uncaught_exceptions() <= m_uncaught_on_creation; | |||
| } | |||