offa
|
44830430ab
|
Deduction guide for scope_exit implemented (#80).
|
7 vuotta sitten |
offa
|
5fee7b08a2
|
Using 'if constexpr'.
|
7 vuotta sitten |
offa
|
ddabea3b88
|
Using new trait helper variables.
|
7 vuotta sitten |
offa
|
0ca63d67fd
|
Ctor calling syntax unified.
|
7 vuotta sitten |
offa
|
bb4dfabb91
|
Using new trait helper variables.
|
7 vuotta sitten |
offa
|
336adb207e
|
Using new trait helper variables.
|
7 vuotta sitten |
offa
|
87c02ce3f4
|
Using new trait helper variables.
|
7 vuotta sitten |
offa
|
8732ecbb20
|
Using std::uncaught_exceptions() as this is available now (fixes #78).
|
7 vuotta sitten |
offa
|
82031d03ad
|
Using class instead of struct.
|
7 vuotta sitten |
offa
|
ed85b84bad
|
Diction unified.
|
7 vuotta sitten |
offa
|
e0b6f03a4e
|
Wrapper moved to separate header.
|
7 vuotta sitten |
offa
|
bfdcd3c0a8
|
Type requirements of unique_resource of move assignment operator fixed.
|
7 vuotta sitten |
offa
|
7321389331
|
Formatting.
|
7 vuotta sitten |
offa
|
5154c6bdc2
|
Formatting.
|
7 vuotta sitten |
offa
|
6a378724e3
|
Both mctor implementations of scope_guard_base refactored into one. The
handling of nothrow moveconstructible or not is now handled through
std::move_if_noexcept() (fixes #77).
|
7 vuotta sitten |
offa
|
4a8f9af492
|
Helper variable template implemented.
|
7 vuotta sitten |
offa
|
5d396b25ef
|
Typetrait added instead of templated variable.
|
7 vuotta sitten |
offa
|
6407eb6884
|
Subdirectory for implementation details added and scope_guard_base
moved to there.
|
7 vuotta sitten |
offa
|
6f3e9ac6d1
|
Setting the correct noexcept value depending on the strategy.
|
7 vuotta sitten |
offa
|
bb7a9421c5
|
Const and no excepts fixed for the scope guard strategies.
|
7 vuotta sitten |
offa
|
33d2e9c611
|
Formatting.
|
7 vuotta sitten |
offa
|
89b6a069c8
|
Scope Fail refactored.
|
7 vuotta sitten |
offa
|
579235c232
|
Scope Success refactored.
|
7 vuotta sitten |
offa
|
77be07b655
|
Field made private.
|
7 vuotta sitten |
offa
|
46c5770080
|
Formatting.
|
7 vuotta sitten |
offa
|
48384ec9e8
|
Braces added.
|
7 vuotta sitten |
offa
|
176180601d
|
Strategy extracted for scope exit.
|
7 vuotta sitten |
offa
|
29012340f5
|
Scope Guard base class moved into a dedicated file. The class is in the
namespace 'detail' now.
|
7 vuotta sitten |
offa
|
172b435dc4
|
Common code of all scope guards moved to a base class (scope_exit only
so far).
|
7 vuotta sitten |
offa
|
5768cfe5e8
|
Implementation details moved to dedicated namespace (fixes #57).
|
7 vuotta sitten |
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 vuotta sitten |
offa
|
67188316a3
|
Functionname fixed.
|
7 vuotta sitten |
offa
|
6f308d79fb
|
Using the move_assign_if_noexcept() from the standard library instead of
the custom one.
|
7 vuotta sitten |
offa
|
71b79880e9
|
Move-Assignment implemented as specified (#63).
|
7 vuotta sitten |
offa
|
4fd08c83d9
|
Old-Style casts removed.
|
7 vuotta sitten |
offa
|
6558c27cc5
|
Missing reset() method added.
|
7 vuotta sitten |
offa
|
b30ba27498
|
Noexcepts fixed.
|
7 vuotta sitten |
offa
|
acea0713c5
|
Missing noexcept's added.
|
7 vuotta sitten |
offa
|
caf0b1a167
|
Noexcept added.
|
7 vuotta sitten |
offa
|
6efbfd101b
|
Move assignment updated.
|
7 vuotta sitten |
offa
|
6a02c8a311
|
MCtor implementation updated.
|
7 vuotta sitten |
offa
|
9a34f191a4
|
Cleanup.
|
7 vuotta sitten |
offa
|
902edaa5c8
|
Returntype of get() changed to decltype(auto) (#71).
|
7 vuotta sitten |
offa
|
4978c4b76d
|
Calling the deleters re-enabled.
|
7 vuotta sitten |
offa
|
aca01833f6
|
Deleter used through wrapper. The cast function has been replaced
temporarily by old-style casts, as there were type issues.
|
7 vuotta sitten |
offa
|
975a17f561
|
Types fixed.
|
7 vuotta sitten |
offa
|
6946c293d1
|
Special handling for LValue References needed as T&& and const T& are
ambiguous otherwise.
|
7 vuotta sitten |
offa
|
e5dab9c8cb
|
Wrapper implemented.
|
7 vuotta sitten |
offa
|
43cad551f2
|
Exception handling of reset(R&&) corrected (fixes #55, fixes #56).
|
7 vuotta sitten |
offa
|
8cd44f63f0
|
Refactoring.
|
7 vuotta sitten |