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
|
33f2dbd0d3
|
Merge branch 'dev/unique_resource' into development
|
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
|
ea843c33c9
|
Test for self-move removed as this is prevented by some compilers.
|
7 years ago |
offa
|
526a869cfb
|
Handling of self move assignment.
|
7 years ago |
offa
|
12f3d51a1a
|
Move assignment implemented.
|
7 years ago |
offa
|
98a2ac226a
|
This fails in 3rd Party libraries.
Revert "Optional warnings added. These are only used if supported by the"
This reverts commit 9ec6531861 .
|
7 years ago |
offa
|
9ec6531861
|
Optional warnings added. These are only used if supported by the
compiler.
|
7 years ago |
offa
|
fa89795daf
|
Small cmake simplification.
|
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
|
41f4a3b3da
|
Tests added and 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
|
9e13976790
|
Documentation updated (#27).
|
7 years ago |
offa
|
7b53990fc0
|
Catch updated to Catch2 dev. 4 (#48).
|
7 years ago |
offa
|
417c032b9d
|
Documentation updated (see #46).
|
7 years ago |
offa
|
09574d397e
|
Test description fixed.
|
7 years ago |
offa
|
ca024cdbca
|
Implementation of scope_fail class and make_scope_fail() factory
function.
|
7 years ago |
offa
|
11301857bc
|
Clang 5.0 CI build added and Clang 3.8 removed.
|
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
|
dddb1db13d
|
Cleanup.
|
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
|
e369b880f0
|
Test tags updated.
|
7 years ago |
offa
|
b70762c66d
|
Factory renamed to make_scope_exit().
|
7 years ago |
offa
|
cb8706d97a
|
Build fix for clang 3.8.
|
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 |