[QGIS-Developer] SIP NoCopyCtor
Julien Cabieces
julien.cabieces at oslandia.com
Mon Jun 9 09:24:02 PDT 2025
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 at 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.cabieces at oslandia.com
More information about the QGIS-Developer
mailing list