[xsde-users] Re: Bug?

Boris Kolpackov boris at codesynthesis.com
Wed Feb 22 11:28:48 EST 2017


Hi Laurent,

Laurent Michel <laurent1984 at gmail.com> writes:

> Btw, if you disable copy constructors, how do you serialize data then?
> Because it can be that I have an xsd element made of a sequence of e.g.
> strings that I would like to serialize. Since this has variable length, I
> have no copy ctor for my element.

I don't understand why you need a copy to serialize things? It's not like
serialization is somehow destructive? You just pass (const) references.


> Is xsd/e compatible with move constructors?

No, XSD/e doesn't generate move constructors yet.

Boris



More information about the xsde-users mailing list