[xsde-users] Using auto_ptr for passing shared objects
Boris Kolpackov
boris at codesynthesis.com
Wed Nov 18 10:22:11 EST 2015
Hi Andrey,
Andrey Filimonov <andrey.v.filimonov at gmail.com> writes:
> I continue comparing parser/serializer implementations created by XSD and
> XSDe.
Just note, XSD doesn't really have a serializer mapping.
> Code generated by XSD uses auto_ptr to pass shared objects.
> In spite of the fact that the implementation is generated by XSDe without
> --no-stl parameter, raw pointers are used to pass objects in the same
> circumstances.
You can use a type map to make the parser interface pass objects
as smart pointers.
Boris
More information about the xsde-users
mailing list