[PySide] Compile error with method taking a reference to an value-type

Friedemann Kleint Friedemann.Kleint at qt.io
Tue Sep 5 14:57:38 CEST 2023


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 

Regards, Friedemann

Friedemann Kleint
The Qt Company GmbH

More information about the PySide mailing list