Lumiera  0.pre.03
»edit your freedom«
Transiently< TAR > Class Template Reference

#include "lib/test/transiently.hpp"

Description

template<typename TAR>
class lib::test::Transiently< TAR >

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
 
NonCopyableoperator= (NonCopyable const &)=delete
 
+ Inheritance diagram for Transiently< TAR >:
+ Collaboration diagram for Transiently< TAR >:

The documentation for this class was generated from the following file: