std.serialization

Atila Neves atila.neves at gmail.com
Wed Feb 19 02:59:44 PST 2014


On Sunday, 16 February 2014 at 20:57:28 UTC, Andrej Mitrovic 
wrote:
> On 2/16/14, "Nordlöw" <per.nordlow at gmail.com> wrote:
>> I'm however not sure how serialization of base and superclasses
>> should be implemented in the most convenient way. Maybe somehow
>> has a good suggestion for this.
>
> One way to do it:
> https://github.com/msgpack/msgpack-d#use-own-deserialization-routine-for-class-and-struct

That suffers from needing two functions to serialise/deserialise 
when only one should be needed.

Atila


More information about the Digitalmars-d-announce mailing list