Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ clone()

template<typename T, typename Enabler = void>
T DataStorm::Cloner< T, Enabler >::clone ( const T & value)
inlinestaticnoexcept

Clones 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.

Parameters
valueThe value to encode
Returns
The cloned value

Definition at line 186 of file Types.h.