Luna::deserialize

template <typename _Ty>
RV deserialize(_Ty &inst, const Variant &data)

Deserializes one value of type _Ty.

Parameters

  • in inst

    The instance data.

  • in data

    The serialized data used for deserialization.