[C++-sig] Wrap a c++ function that returns boost::shared_ptr<> type?

lin yun yunlin07 at gmail.com
Fri Dec 19 04:30:19 CET 2008


Would you please elaborate your idea a little more?


On Thu, Dec 18, 2008 at 10:18 AM, David Abrahams <dave at boostpro.com> wrote:

>
> on Wed Dec 17 2008, "lin yun" <yunlin07-AT-gmail.com> wrote:
>
> >> Yes. I believe Py++ deals with boost::shared_ptr without invoking the
> >> user. Just use default call policy.
> > That's good news! How about vector<boost::shared_ptr<unsigned short *>> ?
>
> If you use the facilities of
> http://www.boost.org/doc/libs/1_37_0/libs/python/doc/v2/iterator.html,
> everything *should* "just work."
>
> --
> Dave Abrahams
> BoostPro Computing
> http://www.boostpro.com
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20081218/bf0d0f3e/attachment.htm>


More information about the Cplusplus-sig mailing list