offa
|
b483bf02bb
|
Method implemented.
|
7 years ago |
offa
|
bdb03f8cd7
|
Methods implemented.
|
7 years ago |
offa
|
c68b2a8e24
|
Some more methods implemented.
|
7 years ago |
offa
|
41f4a3b3da
|
Tests added and some fixes.
|
7 years ago |
offa
|
cd0a724ceb
|
Implementing the updated version unique_resource.
|
7 years ago |
offa
|
7b53990fc0
|
Catch updated to Catch2 dev. 4 (#48).
|
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
|
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
|
de9455c2b7
|
Ctors of scope guard (almost) implemented. Still missing: Correct
behaviour for LValue references (see #41).
|
7 years ago |
offa
|
b9b7126260
|
Refactoring.
|
7 years ago |
offa
|
bcb599711b
|
Unique Resource Test ported.
|
7 years ago |
offa
|
547c1bb5fa
|
Refactoring.
|
7 years ago |
offa
|
7f62445bce
|
Trompeloeil updated to latest dev as builds fail with master and latest
release (#21).
|
7 years ago |
offa
|
a16ef7e13d
|
Scope Guard Test ported.
|
7 years ago |
offa
|
c726e08dc1
|
Formatting.
|
7 years ago |
offa
|
70b6441ef7
|
Trompeloeil added (#21).
|
7 years ago |
offa
|
60504aca9c
|
Catch License added.
|
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
|
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
|
2dbe0ca826
|
Invoke implemented.
|
7 years ago |
offa
|
061d16e478
|
Move-Assignment implemented.
|
7 years ago |
offa
|
c4fd938af4
|
Move ctor implemented.
|
7 years ago |
offa
|
334c7f3b9e
|
Release implemented.
|
7 years ago |
offa
|
7f2b506318
|
Using a type alias.
|
7 years ago |
offa
|
fa67d80289
|
Implemenation of unique_resource started.
|
7 years ago |
offa
|
f3b4c202d1
|
Improved target handling.
|
7 years ago |
offa
|
6710dac767
|
Target name adjusted.
|
7 years ago |
offa
|
417d9563b5
|
Improved handling of Catch (fixes #13).
|
7 years ago |
offa
|
33865e73b1
|
License header added (fixes #16).
|
7 years ago |
offa
|
f9a89f8d34
|
Check the number of calls, not just whether the deleter has been called
or not (fixes #9).
|
7 years ago |
offa
|
7a9ae0db95
|
Indication, that intentional unused.
|
7 years ago |
offa
|
a8cd4a3852
|
Exceptionpropagation from the deleter prevented. As the deleter is
called from within the dtor, this may otherwise cause UB (fixes #7).
|
7 years ago |
offa
|
7e7ae4893a
|
Namespace changed to 'sr' (fixes #10).
|
7 years ago |
offa
|
89e0b8116b
|
Move-Ctor implemented for scope guard (fixes #6).
|
7 years ago |
offa
|
494a662243
|
release() implemented for scope_guard (fixes #4).
|
7 years ago |
offa
|
7660c34548
|
Using a patched version of Catch 2 until the bug has been fixed
upstream (#2).
|
7 years ago |