|
header_utils
|
RAII-related types. More...
Classes | |
| struct | ghassanpl::scope_guard< EF > |
| An RAII class that executes a function on destruction. More... | |
| struct | ghassanpl::counted_scope_guard< EF > |
| An RAII class that executes a function on destruction, if its request counter is greater than zero. More... | |
| struct | ghassanpl::unique_resource< R, D > |
| An equivalent to unique_ptr for values that are not heap pointers. More... | |
| struct | ghassanpl::scoped_value_change< T, IS_OPTIONAL > |
| An RAII class that changes the value of a variable and reverts it to the original value on destruction. More... | |
| struct | ghassanpl::scope_counter< T > |
| An RAII class that increments a value on construction and decrements it on destruction. More... | |
Typedefs | |
| template<typename T> | |
| using | ghassanpl::optional_scoped_value_change |
RAII-related types.