[PyQt] Any plans for std::unique/shared ptrs?

Nyall Dawson nyall.dawson at gmail.com
Fri Sep 1 01:08:51 BST 2017


Hi list,

I'm wondering if there's been any discussion yet for supporting
unique_ptr and shared_ptrs within sip bindings, or whether anyone has
any code available they've developed for handling these types.

I'd love to start using these within a project I'm involved in (such
as returning unique_ptrs from factory functions), but given that all
these functions also need to be exposed to our python bindings I'm yet
to find a clean way to handle this.

Is this on the roadmap at all?

Cheers,
Nyall


More information about the PyQt mailing list