DataStorm
0.1
Data Distribution Service
|
The Cloner template provides a method to clone user types. More...
#include <DataStorm/DataStorm.h>
Static Public Member Functions | |
static T | clone (const T &value) noexcept |
Clone the given value. More... | |
The Cloner template provides a method to clone user types.
The cloner template can be specialized to provide cloning for types that require special cloning. By defaut, the template uses plain C++ copy.
|
inlinestaticnoexcept |
Clone the given value.
This helper is used when processing partial update to clone the previous value and compute the new value with the partial update. The default implementation performs a plain C++ copy with the copy constructor.
value | The value to encode |