[xsd-users] no abstract base classes with "Customizing the generated type — the complex case"
Boris Kolpackov
boris at codesynthesis.com
Mon Jul 28 07:10:04 EDT 2014
Hi Oliver,
Oliver Schneider <xsd-users at oli-obk.de> writes:
> 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?
Boris
More information about the xsd-users
mailing list