RAII wrapper to erase added IDs on destruction. More...
#include <le2d/tweak/scope.hpp>
Public Member Functions | |
| Scope (Scope const &)=delete | |
| auto | operator= (Scope const &) -> Scope &=delete |
| Scope (Scope &&)=default | |
| auto | operator= (Scope &&) -> Scope &=default |
| Scope (gsl::not_null< IStore * > store) | |
| ~Scope () | |
| void | add_tweakable (std::string_view const id, gsl::not_null< ITweakable * > tweakable) |
RAII wrapper to erase added IDs on destruction.
|
delete |
|
default |
|
inlineexplicit |
|
inline |
|
inline |