[xsde-users] memory management of "variable length" elements

Boris Kolpackov boris at codesynthesis.com
Wed Sep 29 11:57:03 EDT 2010

Hi Ivan,

Ivan Le Lann <ivan.lelann at free.fr> writes:

> I'm building a response for a few points you mentionned, but I do 
> not want to rush it, so it will come later.

No problem.

> I've just spotted a new problem : xs:choice is mapped to a union.
> And union members cannot have non-trivial copy constructor.
> That seems to prevent any smart pointer under xs:choice.

Yes, that's a good catch. Once you start thinking about things
on a deeper level, all kinds of hidden surprises pop up.

> I read that C++0x (at least) can handle this with some code,
> but that will probably not help us for XSD/e platforms. :-)



More information about the xsde-users mailing list