Hi Denis,
I imagine that you're thinking of this kind of declaration: https://github.com/qgis/QGIS/blob/5b59269f98799597df125744823a0163d3061548/src/core/expression/qgsexpressionnodeimpl.h#L93 But this is a Mapped Type Annotation, not a Class annotation, so I don't see how we could use this. Regards, Julien > Hi all, > > I just noticed that SIP v5+ has a new annotation NoCopyCtor > https://python-sip.readthedocs.io/en/stable/annotations.html#mapped-type-annotation-NoCopyCtor > > If anyone has a better understanding of the underlying logic, should we use > this rather than forcing the declaration of > copy constructors on the sip files? > > Cheers, > Denis > > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer -- Julien Cabieces Senior Developer at Oslandia julien.cabie...@oslandia.com _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer