offa
|
97cd340bac
|
SFINAE corrected as specified in P0052.
|
7 years ago |
offa
|
49f560c721
|
Returntype corrected.
|
7 years ago |
offa
|
efeb88afc3
|
Formatting.
|
7 years ago |
offa
|
fbf36a533d
|
Noexcept expression of scope_fail corrected.
|
7 years ago |
offa
|
1de76d07ba
|
Noexcept expression of scope_success corrected.
|
7 years ago |
offa
|
f8fc803afa
|
Formatting.
|
7 years ago |
offa
|
7b96c2afee
|
Noexcept of scope guard mctors updated to P0052R5 (#49).
|
7 years ago |
offa
|
ddd723bde3
|
Unnecessary try/catch removed.
|
7 years ago |
offa
|
23dd400d91
|
Formatting unified.
|
7 years ago |
offa
|
eadc953f4f
|
Testcases added.
|
7 years ago |
offa
|
5067e54b89
|
Special handling for exception while move-construction added.
Related to #61: Exceptions are rethrown.
|
7 years ago |
offa
|
b9cce110e6
|
Refactoring, both mctor's can be merged into one.
|
7 years ago |
offa
|
b5f28779dd
|
Behaviour on Move-Construction corrected (#52).
|
7 years ago |
offa
|
b1c3c2cea8
|
Formatting.
|
7 years ago |
offa
|
cc09b0dfeb
|
Names updated.
|
7 years ago |
offa
|
f37b0b7710
|
Member renamed.
|
7 years ago |
offa
|
30752c93f1
|
Templateparameter names adapted from P0052.
|
7 years ago |
offa
|
82cbd1f5a8
|
Templateparameter names adapted from P0052.
|
7 years ago |
offa
|
8611ca39ac
|
Member renamed.
|
7 years ago |
offa
|
7bb2570690
|
Member renamed.
|
7 years ago |
offa
|
3fc95d8061
|
Templateparameter names adapted from P0052.
|
7 years ago |
offa
|
d2c93a6d3b
|
Scope header added. It only contains includes of the other headers
(fixes #31).
|
7 years ago |
offa
|
027a53b1a3
|
Factory fucntion make_unique_resource_checked() added.
|
7 years ago |
offa
|
a88ea2e20f
|
Factory function make_unique_resource() with std::reference_wrapper
added.
|
7 years ago |
offa
|
0d2e3da347
|
Factory function make_unique_resource() fully implemented and Test
added.
|
7 years ago |
offa
|
526a869cfb
|
Handling of self move assignment.
|
7 years ago |
offa
|
12f3d51a1a
|
Move assignment implemented.
|
7 years ago |
offa
|
105766eff4
|
Pointer access added.
|
7 years ago |
offa
|
fc66bf69dc
|
Pointer access added.
|
7 years ago |
offa
|
a92915998d
|
Throw removed as this would call std::terminate() as noexcept evaluates
to true under any circumstances (see #58).
|
7 years ago |
offa
|
98240eab8d
|
Missing noexcepts added.
|
7 years ago |
offa
|
d6f60e09f6
|
Refactoring.
|
7 years ago |
offa
|
b483bf02bb
|
Method implemented.
|
7 years ago |
offa
|
bdb03f8cd7
|
Methods implemented.
|
7 years ago |
offa
|
3039f75d14
|
Refactoring.
|
7 years ago |
offa
|
831c97cc89
|
Helper function implemented.
|
7 years ago |
offa
|
c68b2a8e24
|
Some more methods implemented.
|
7 years ago |
offa
|
454462d936
|
Some fixes.
|
7 years ago |
offa
|
d58748aacc
|
Implementing this needs some more methods.
|
7 years ago |
offa
|
cd0a724ceb
|
Implementing the updated version unique_resource.
|
7 years ago |
offa
|
ca024cdbca
|
Implementation of scope_fail class and make_scope_fail() factory
function.
|
7 years ago |
offa
|
8b02efb655
|
Missing field initialization of uncaught exceptions added.
|
7 years ago |
offa
|
93d4bcd0cb
|
Noexcept's removed from scope guard factory functions (fixes #45).
|
7 years ago |
offa
|
7ad966c413
|
scope_success implemented. Until C++17 is used,
std::uncaught_exception() must be used instead of
std::uncaught_exceptions() (#46).
|
7 years ago |
offa
|
9697cfefe9
|
Dtor of scope_exit updated. It is now no longer guarding against
exceptions thrown by the deleter (#28), furthermore it's noexcept
now.
|
7 years ago |
offa
|
9850626679
|
Handling of the not no-throw-constructible case of the move ctor added
to scope_exit (fixes #42, fixes #29).
|
7 years ago |
offa
|
d60701bf91
|
Filenames corrected.
|
7 years ago |
offa
|
1bfce15320
|
Renaming of scope_guard_t to scope_exit.
|
7 years ago |
offa
|
b70762c66d
|
Factory renamed to make_scope_exit().
|
7 years ago |
offa
|
5e610e63e4
|
LValue handling of the scope guard move ctor implemented (fixes #41).
|
7 years ago |