SUNphi
1.0
|
Scope-based action. More...
#include <utility>
Go to the source code of this file.
Classes | |
class | SUNphi::ScopeDoer< FEnd > |
Functions | |
template<typename T , typename TV > | |
auto | SUNphi::getScopeChangeVar (T &ref, const TV &val) |
Set a variable for the scope, change it back at the end. More... | |
Scope-based action.
Definition in file ScopeDoer.hpp.
auto SUNphi::getScopeChangeVar | ( | T & | ref, |
const TV & | val | ||
) |
Set a variable for the scope, change it back at the end.
Old value
ref | Reference |
val | Value to set |
Definition at line 78 of file ScopeDoer.hpp.