That was done for performance reasons, so that the refcount and the object are close together, if I remember correctly.
You can of course write your own pmt_t alternative, or change GNU Radio's source code, but I'd argue that would probably be quite some work. Why do you ask? Best regards, Marcus On 04/19/2017 03:41 PM, hutiankun wrote: > Hi, > why the prototype of pmt_t is intrusive_ptr? Is it possible to change > it to shared_ptr? > > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
