Offline Transaction Signing (OTS) 0.1.0
|
A class to handle a reference copy of a value and zeroize it on destruction. More...
#include <ots-internal.hpp>
Public Member Functions | |
ZeroizeReferenceCopy (const T &value) | |
~ZeroizeReferenceCopy () | |
operator T& () | |
Public Attributes | |
std::unique_ptr< T > | ptr_ |
A class to handle a reference copy of a value and zeroize it on destruction.
T | type of the value |
value | the const reference to copy and zeroize |
|
inlineexplicit |
|
inline |
|
inline |
std::unique_ptr<T> ots::ZeroizeReferenceCopy< T >::ptr_ |