Skip to content

Commit cc8f4bd

Browse files
change order of synopsis and code, remove merge markings
1 parent 7208ca9 commit cc8f4bd

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

include/beman/scope/scope.hpp

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,6 @@
55

66
namespace beman::scope {
77

8-
<<<<<<< HEAD
9-
// TODO: Implement
10-
struct scope_exit {
11-
template <typename F>
12-
scope_exit(F) {}
13-
~scope_exit() {
14-
// TODO: Cleanup
15-
}
16-
};
17-
18-
// TODO: Implement
19-
struct scope_fail {
20-
template <typename F>
21-
scope_fail(F) {}
22-
~scope_fail() {
23-
// TODO: Cleanup
24-
}
25-
};
26-
27-
// TODO: Implement
28-
struct scope_success {
29-
template <typename F>
30-
scope_success(F) {}
31-
~scope_success() {
32-
// TODO: Cleanup
33-
}
34-
};
35-
=======
368
// -- 7.6.7 Feature test macro --
379
//
3810
// __cpp_lib_scope
@@ -120,7 +92,34 @@ struct scope_success {
12092
//
12193
// template <typename R, typename D>
12294
// unique_resource(R, D) -> unique_resource<R, D>;
123-
>>>>>>> a30545a (Copy synopsis from p0052r10.pdf)
95+
96+
97+
// TODO: Implement
98+
struct scope_exit {
99+
template <typename F>
100+
scope_exit(F) {}
101+
~scope_exit() {
102+
// TODO: Cleanup
103+
}
104+
};
105+
106+
// TODO: Implement
107+
struct scope_fail {
108+
template <typename F>
109+
scope_fail(F) {}
110+
~scope_fail() {
111+
// TODO: Cleanup
112+
}
113+
};
114+
115+
// TODO: Implement
116+
struct scope_success {
117+
template <typename F>
118+
scope_success(F) {}
119+
~scope_success() {
120+
// TODO: Cleanup
121+
}
122+
};
124123

125124
} // namespace beman::scope
126125

0 commit comments

Comments
 (0)