From 9885a6e2f2a2fff2252f0c6fa9ca140c0e772819 Mon Sep 17 00:00:00 2001 From: River <26424577+wusatosi@users.noreply.github.com> Date: Wed, 5 Feb 2025 23:07:14 -0500 Subject: [PATCH] add todo destructors --- include/beman/scope/scope.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/beman/scope/scope.hpp b/include/beman/scope/scope.hpp index 6c573c9..bc950dc 100644 --- a/include/beman/scope/scope.hpp +++ b/include/beman/scope/scope.hpp @@ -9,18 +9,28 @@ namespace beman::scope { struct scope_exit { template scope_exit(F) {} + ~scope_exit() { + // TODO: Cleanup + } }; // TODO: Implement struct scope_fail { template scope_fail(F) {} + ~scope_fail() { + // TODO: Cleanup + } }; // TODO: Implement struct scope_success { template scope_success(F) {} + ~scope_success() { + // TODO: Cleanup + } +}; }; } // namespace beman::scope