Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/test/transiently.hpp"
Token to capture a value and restore original when leaving scope.
Definition at line 54 of file transiently.hpp.
Public Member Functions | |
Transiently (TAR &target) | |
template<typename X > | |
void | operator= (X &&x) |
Private Attributes | |
TAR & | manipulated_ |
TAR | originalVal_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |