offa
|
71a7a4d83e
|
Test updated to use ctor directly.
|
7 years ago |
offa
|
7830dcdb7d
|
Mocks moved to a namespace.
|
7 years ago |
offa
|
420441285e
|
Tests refactored (#76).
|
7 years ago |
offa
|
a75bc2df64
|
Test naming updated (fixes #60).
|
7 years ago |
offa
|
37f6962596
|
Prevent unused warning.
|
7 years ago |
offa
|
0789d10f91
|
Test cases added (#47).
|
7 years ago |
offa
|
ca024cdbca
|
Implementation of scope_fail class and make_scope_fail() factory
function.
|
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
|
547c1bb5fa
|
Refactoring.
|
7 years ago |
offa
|
a16ef7e13d
|
Scope Guard Test ported.
|
7 years ago |
offa
|
70b6441ef7
|
Trompeloeil added (#21).
|
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
|
d6649fd3b1
|
Namespace renamed to 'sg'.
|
7 years ago |
offa
|
3a00a3063d
|
Build fix.
|
7 years ago |
offa
|
c0a475b10c
|
Project initialized.
|
7 years ago |