2
0
mirror of https://github.com/boostorg/scope.git synced 2026-01-25 18:52:09 +00:00
Files
scope/test
Andrey Semashev c5635f21cc Implemented scope_check and added support for arbitrary fail conditions.
The new scope_check scope guard is a generalization of scope_success and
scope_fail and allows specifying arbitrary conditions for executing the
scope exit action. The scope_success and scope_fail have been
reimplemented in terms of scope_check and now also support arbitrary
fail conditions.

Added exception_checker and error_code_checker conditions for testing
for an exception being thrown and for an error code, respectively.
scope_success and scope_fail use exception_checker by default.

Added tests for the new components.
2023-03-26 21:02:11 +03:00
..
2023-02-24 19:30:55 +03:00
2023-02-24 19:30:55 +03:00
2023-02-24 19:30:55 +03:00
2023-02-24 19:30:55 +03:00