Hi,
Thank you for your answer. Indeed B should take A as const ref, and it
fixes generation.
Regards,
Julien
> Hi,
>
> I am not sure under what circumstances this is generated, but B's
> constructor should take A by const ref (if at all, given that A is
> part of a class hierarchy and not a va
Hi,
I am not sure under what circumstances this is generated, but B's
constructor should take A by const ref (if at all, given that A is part
of a class hierarchy and not a value type, so, slicing may occur, etc
etc.).
Regards, Friedemann
--
Friedemann Kleint
The Qt Company GmbH
__
typesystem.xml
Description: XML document
#ifndef ANABSTRACTCLASS_H
#define ANABSTRACTCLASS_H
// class ANotBindedType
// {
// private:
// int i = 0;
// };
// class AnAbstractClass
// {
// private:
// virtual void apurevirtualmethod(ANotBindedType* type ) = 0;
// int a = 0;
// }