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 |
offa
|
5e59bb6c07
|
Formatting.
|
7 years ago |
offa
|
c9bfe16f6e
|
Todo removed as there's an issue for this.
|
7 years ago |
offa
|
54190db19e
|
Move ctor is no longer noexcept.
|
7 years ago |
offa
|
b6657b19e2
|
Scope guard ctor are no longer noexcept.
|
7 years ago |
offa
|
de9455c2b7
|
Ctors of scope guard (almost) implemented. Still missing: Correct
behaviour for LValue references (see #41).
|
7 years ago |
offa
|
b234a5a25d
|
Return value of release() corrected (fixes #19).
|
7 years ago |
offa
|
6bced82d22
|
Decays removed from SFINAE (fixes #22).
|
7 years ago |
offa
|
c4d4e5820e
|
Non-const deleter accessor implemented.
|
7 years ago |
offa
|
9dee2f7ac2
|
Checked unique resource implemented.
|
7 years ago |
offa
|
5508546664
|
Type constrains for pointer related operations implemented.
|
7 years ago |
offa
|
f328ef536c
|
Refactoring.
|
7 years ago |
offa
|
73748ae3ff
|
Delete access added.
|
7 years ago |
offa
|
0d6173398c
|
Conversion operator implemented.
|
7 years ago |
offa
|
7988145317
|
Reset and get implemented.
|
7 years ago |
offa
|
3c37769e2f
|
Naming fixed.
|
7 years ago |
offa
|
2db5ae2ee2
|
Refactoring.
|
7 years ago |
offa
|
f745593342
|
Refactoring.
|
7 years ago |