Skip to content

Commit

Permalink
add todo destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
wusatosi committed Feb 6, 2025
1 parent 2c64e3e commit 9885a6e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/beman/scope/scope.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,28 @@ namespace beman::scope {
struct scope_exit {
template <typename F>
scope_exit(F) {}
~scope_exit() {
// TODO: Cleanup
}
};

// TODO: Implement
struct scope_fail {
template <typename F>
scope_fail(F) {}
~scope_fail() {
// TODO: Cleanup
}
};

// TODO: Implement
struct scope_success {
template <typename F>
scope_success(F) {}
~scope_success() {
// TODO: Cleanup
}
};
};

} // namespace beman::scope
Expand Down

0 comments on commit 9885a6e

Please sign in to comment.