Skip to content

Commit 940980c

Browse files
committed
whitespace fixes
1 parent 95a4ab0 commit 940980c

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ but with different checked conditions on exiting the scope.
8282
throw std::runtime_error( "trigger failure" );
8383

8484
} catch (...) { // expected }
85-
85+
8686
// triggered == true
8787
```
8888
89-
`unique_resource` is a cutomizeable RAII type similar to `unique_ptr`.
89+
`unique_resource` is a cutomizeable RAII type similar to `unique_ptr`.
9090
9191
```c++
9292
#include <beman/scope/scope.hpp>
@@ -100,7 +100,7 @@ but with different checked conditions on exiting the scope.
100100
}
101101
}
102102
);
103-
103+
104104
// use file via f->
105105
}
106106

paper/scope.org

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Imagine the following code:
111111
[&result] { result = -1.0; }, //fail function
112112
[] { return errno != 0; } // check condition function
113113
};
114-
114+
115115
result = sqrt( value ) / 2.0;
116116
}
117117

@@ -129,7 +129,7 @@ to this change is that the scope classes require another function pointer.
129129

130130
*** Active versus release
131131

132-
Boost.scope removes the ~release~ method and replaces it with an activation flag.
132+
Boost.scope removes the ~release~ method and replaces it with an activation flag.
133133

134134
TODO
135135

@@ -143,21 +143,21 @@ https://www.boost.org/doc/libs/1_88_0/libs/scope/doc/html/scope/unique_resource.
143143

144144
TODO
145145

146-
** Committee design polls
146+
** Committee design polls
147147

148148
We like the changes proposed to allow user defined condition function.
149149

150-
POLL:
150+
POLL:
151151

152152
| Strongly Favor | Weakly Favor | Neutral | Weakly Against | Strongly Against |
153153
|----------------+--------------+---------+----------------+------------------|
154154
| 0 | 0 | 0 | 0 | 0 |
155155

156-
Attendance:
156+
Attendance:
157157

158-
Author Position:
158+
Author Position:
159159

160-
Outcome:
160+
Outcome:
161161

162162

163163
* Implementations
@@ -194,7 +194,7 @@ initialization) resource wrapper.
194194
#+BEGIN_SRC c++
195195
namespace std {
196196

197-
//
197+
// default conditional check
198198
bool exception_check();
199199

200200
// scope guards
@@ -214,7 +214,7 @@ initialization) resource wrapper.
214214

215215
1 The class templates ~scope_exit~, ~scope_fail~, and ~scope_success~ define scope guards
216216
that wrap a function object to be called on destruction.
217-
217+
218218
2 The class template ~unique_resource~ provides a user customizeable raii style guard.
219219

220220
*** 7.5.2 Class template scope_exit
@@ -320,7 +320,7 @@ namespace std {
320320
2 ~template <class F> constexpr auto transform_error(F&& f) const &&;~
321321

322322
Let G be ~remove_cv_t<invoke_result_t<F, decltype(std::move(error()))>>~.
323-
323+
324324
/Mandates:/ G is a valid value type for ~expected~ and the declaration ~G g(invoke(std::forward<F>(f), std::move(error())));~ is well-formed.
325325

326326
/Constraints:/ ~is_move_constructible_v<T>~ is ~true~.
@@ -330,7 +330,7 @@ namespace std {
330330

331331
* Acknowledgements
332332
- Peter Sommerlad and Andrew Sandoval for all the work bring Scope Guard to the LTFS.
333-
333+
334334
* Revision History
335335

336336
| Version | Date | Changes |

0 commit comments

Comments
 (0)