We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c64e3e commit 9885a6eCopy full SHA for 9885a6e
include/beman/scope/scope.hpp
@@ -9,18 +9,28 @@ namespace beman::scope {
9
struct scope_exit {
10
template <typename F>
11
scope_exit(F) {}
12
+ ~scope_exit() {
13
+ // TODO: Cleanup
14
+ }
15
};
16
17
// TODO: Implement
18
struct scope_fail {
19
20
scope_fail(F) {}
21
+ ~scope_fail() {
22
23
24
25
26
27
struct scope_success {
28
29
scope_success(F) {}
30
+ ~scope_success() {
31
32
33
+};
34
35
36
} // namespace beman::scope
0 commit comments