On Thu, Dec 18, 2008 at 8:18 PM, David Abrahams <d...@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."
Do you mean to "redefine" class_< std::vector< ... > > "get" function, so it will return the iterators range? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig