Sygaldry
|
A wrapper around a value-like type. More...
Public Types | |
using | type = T |
The underlying type. | |
Public Attributes | |
T | value |
The wrapped value. | |
A wrapper around a value-like type.
persistent
tries to mimick value semantics, providing constructors and conversion operators so that a persistent<T>
can be roughly treated as if it is a T
.
Endpoints inheriting from this type should state using persistent<T>::operator=
to explicitly inherit the assignment operators from persistent
.