[C++-sig] Boost.Python shared_ptr container gotchas

Roman Yakovenko roman.yakovenko at gmail.com
Tue Aug 1 12:22:11 CEST 2006


On 8/1/06, John Reid <j.reid at mail.cryst.bbk.ac.uk> wrote:
> Roman Yakovenko wrote:
> > pyplusplus will generate next registration code for the vector:
> >
> >   bp::vector_indexing_suite< ::std::vector<boost::shared_ptr<item>,
> > std::allocator<boost::shared_ptr<item> > >, true >()
> >
> > Do you see "true" at the end? :-)
> >
> > pyplusplus tries to help a user as much as it can. It can serve as a
> > user guide and
> > as an inspector: http://tinyurl.com/mbd4r ( development version ).
> >
>
> That sounds good to me. I did try to use pyplusplus but setting up
> gccxml on my windows box proved to be such a headache I gave up and went
> back to Boost.Python. I will probably try in the future when I have more
> time. It wasn't clear from the pyplusplus documentation which version of
> gccxml was required.

I can help you with that.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list