offa
|
176180601d
|
Strategy extracted for scope exit.
|
7 years ago |
offa
|
29012340f5
|
Scope Guard base class moved into a dedicated file. The class is in the
namespace 'detail' now.
|
7 years ago |
offa
|
172b435dc4
|
Common code of all scope guards moved to a base class (scope_exit only
so far).
|
7 years ago |
offa
|
5768cfe5e8
|
Implementation details moved to dedicated namespace (fixes #57).
|
7 years ago |
offa
|
0b264e8f80
|
Implementation of swap() added. As the specification of the
noexcept-value is missing in the document it is implemented as for
std::swap(). Fixes #73.
|
7 years ago |
offa
|
67188316a3
|
Functionname fixed.
|
7 years ago |
offa
|
6f308d79fb
|
Using the move_assign_if_noexcept() from the standard library instead of
the custom one.
|
7 years ago |
offa
|
71b79880e9
|
Move-Assignment implemented as specified (#63).
|
7 years ago |
offa
|
4fd08c83d9
|
Old-Style casts removed.
|
7 years ago |
offa
|
6558c27cc5
|
Missing reset() method added.
|
7 years ago |
offa
|
b30ba27498
|
Noexcepts fixed.
|
7 years ago |
offa
|
acea0713c5
|
Missing noexcept's added.
|
7 years ago |
offa
|
caf0b1a167
|
Noexcept added.
|
7 years ago |
offa
|
6efbfd101b
|
Move assignment updated.
|
7 years ago |
offa
|
6a02c8a311
|
MCtor implementation updated.
|
7 years ago |
offa
|
9a34f191a4
|
Cleanup.
|
7 years ago |
offa
|
902edaa5c8
|
Returntype of get() changed to decltype(auto) (#71).
|
7 years ago |
offa
|
4978c4b76d
|
Calling the deleters re-enabled.
|
7 years ago |
offa
|
aca01833f6
|
Deleter used through wrapper. The cast function has been replaced
temporarily by old-style casts, as there were type issues.
|
7 years ago |
offa
|
975a17f561
|
Types fixed.
|
7 years ago |
offa
|
6946c293d1
|
Special handling for LValue References needed as T&& and const T& are
ambiguous otherwise.
|
7 years ago |
offa
|
e5dab9c8cb
|
Wrapper implemented.
|
7 years ago |
offa
|
43cad551f2
|
Exception handling of reset(R&&) corrected (fixes #55, fixes #56).
|
7 years ago |
offa
|
8cd44f63f0
|
Refactoring.
|
7 years ago |
offa
|
73110f9ed2
|
Handling of void-Types added as in P0052R5.
|
7 years ago |
offa
|
97cd340bac
|
SFINAE corrected as specified in P0052.
|
7 years ago |
offa
|
49f560c721
|
Returntype corrected.
|
7 years ago |
offa
|
efeb88afc3
|
Formatting.
|
7 years ago |
offa
|
fbf36a533d
|
Noexcept expression of scope_fail corrected.
|
7 years ago |
offa
|
1de76d07ba
|
Noexcept expression of scope_success corrected.
|
7 years ago |
offa
|
f8fc803afa
|
Formatting.
|
7 years ago |
offa
|
7b96c2afee
|
Noexcept of scope guard mctors updated to P0052R5 (#49).
|
7 years ago |
offa
|
ddd723bde3
|
Unnecessary try/catch removed.
|
7 years ago |
offa
|
23dd400d91
|
Formatting unified.
|
7 years ago |
offa
|
eadc953f4f
|
Testcases added.
|
7 years ago |
offa
|
5067e54b89
|
Special handling for exception while move-construction added.
Related to #61: Exceptions are rethrown.
|
7 years ago |
offa
|
b9cce110e6
|
Refactoring, both mctor's can be merged into one.
|
7 years ago |
offa
|
b5f28779dd
|
Behaviour on Move-Construction corrected (#52).
|
7 years ago |
offa
|
b1c3c2cea8
|
Formatting.
|
7 years ago |
offa
|
cc09b0dfeb
|
Names updated.
|
7 years ago |
offa
|
f37b0b7710
|
Member renamed.
|
7 years ago |
offa
|
30752c93f1
|
Templateparameter names adapted from P0052.
|
7 years ago |
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 |