| @@ -26,6 +26,7 @@ namespace sr | |||
| { | |||
| namespace detail | |||
| { | |||
| struct scope_exit_strategy | |||
| { | |||
| constexpr bool should_execute() const | |||
| @@ -33,6 +34,7 @@ namespace sr | |||
| return true; | |||
| } | |||
| }; | |||
| } | |||
| @@ -27,6 +27,7 @@ namespace sr | |||
| { | |||
| namespace detail | |||
| { | |||
| struct scope_fail_strategy | |||
| { | |||
| bool should_execute() const | |||
| @@ -42,6 +43,7 @@ namespace sr | |||
| int m_uncaught_on_creation = uncaught_exceptions(); | |||
| }; | |||
| } | |||
| @@ -27,6 +27,7 @@ namespace sr | |||
| { | |||
| namespace detail | |||
| { | |||
| struct scope_success_strategy | |||
| { | |||
| bool should_execute() const | |||