75 , _old_value(instance)
85 _instance = _old_value;
typename extract_atomic_value_type< T >::type ValueType
Definition scoped_set.hpp:63
virtual ~scoped_set() noexcept
Destructor that restores the original value of the managed variable.
Definition scoped_set.hpp:83
scoped_set(T &instance, ValueType newVal)
Constructs a scoped_set and assigns newVal to instance.
Definition scoped_set.hpp:73
Manages the lifecycle of singletons, item registries, and scoped variables. This namespace introduces...
Definition item_registry.hpp:38