This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
scope-guard
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Deduction guide for scope_fail implemented (
#80
).
main
offa
7 years ago
parent
a420881940
commit
b155aa8d7a
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
+4
-0
include/scope_fail.h
+ 4
- 0
include/scope_fail.h
View File
@@ -62,6 +62,10 @@ namespace sr
};
template <class EF>
scope_fail(EF &&ef) -> scope_fail<std::decay_t<EF>>;
template<class EF>
scope_fail<std::decay_t<EF>> make_scope_fail(EF&& exitFunction)
{
Write
Preview
Loading…
Cancel
Save