Re: [C++-sig] const_iterator type

2013-03-27 Thread Alex Leach
On Wed, 27 Mar 2013 11:36:47 -, Alex Leach wrote: I'm trying to wrap an iterable class, which returns a custom iterator typedef'd as const_iterator, from its begin and end methods. In case any of you like answering these types of questions on StackExchange sites, I've also posted it

[C++-sig] const_iterator type

2013-03-27 Thread Alex Leach
Hi, I'm trying to wrap an iterable class, which returns a custom iterator typedef'd as const_iterator, from its begin and end methods. When using boost::python::(iterator|iterators|range) to create an iterator in the exposed __iter__ function in the exposed class_ def, I get a load of com