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_success implemented (
#80
).
main
offa
7 years ago
parent
71a7a4d83e
commit
9d5b707063
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
+4
-0
include/scope_success.h
+ 4
- 0
include/scope_success.h
View File
@@ -55,6 +55,10 @@ namespace sr
};
template <class EF>
scope_success(EF &&ef) -> scope_success<std::decay_t<EF>>;
template<class EF>
scope_success<std::decay_t<EF>> make_scope_success(EF&& exitFunction)
{
Write
Preview
Loading…
Cancel
Save