[C++-sig] Re: pyste and operator*

David Abrahams dave at boost-consulting.com
Tue Nov 9 16:29:50 CET 2004

Roman Yakovenko <roman.yakovenko at gmail.com> writes:

>>         class const_iterator
>>         {
>>         public:
>>             const_iterator() {}
>>             const vertex_type& operator*() const { return m_vertex; }
> This operation is meaningless \doesn't exis in python. If  you still
> want to expose
> it - expose it as regular function

On the other hand there ought to be some way to get pyste to expose
C++ iterators as Python iterators.  See

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list