Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-11-23 10:59:25

----- Original Message -----
From: "Petr Kocmid" <pkocmid_at_[hidden]>

> > Don't expose iterators. Python has its own iteration idioms (e.g.
> > "for x in
> > S"), so just support the python sequence interface on your vector. Since
> > your vector is a random-access container, this will be fast. I
> > this approach.
> I predict the problem Anton had will arise many times in the future.
> we can
> add some generic conversion of STL containers to sequence/mapping protocol
> to py_cpp.

I'm all ears. Any code contributions you can come up with which actually
work would certainly be appreciated.


Boost list run by bdawes at, gregod at, cpdaniel at, john at