Re: [xsd-users] no abstract base classes with "Customizing the generated type — the complex case"
Oliver Schneider
xsd-users at oli-obk.de
Mon Jul 28 07:51:32 EDT 2014
Hi Boris,
Am 28.07.2014 13:10, schrieb Boris Kolpackov:
>> This caused the compilation to fail, since the _clone function of
>> superman_base will have the following content:
>>
>> return new class superman_base (*this, f, c);
>>
>> which can never, and should never be called, since no superman_base
>> instances should exist.
>
> Then why not make _clone() pure virtual as well?
simple: xsd generates it ;)
i would have to change the generated file every time.
/Oliver
More information about the xsd-users
mailing list