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
|
12f3d51a1a
|
Move assignment implemented.
|
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
|
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 |