[C++-sig] const_iterator type

Stefan Ring stefanrin at gmail.com
Thu Mar 28 19:52:24 CET 2013


> I couldn't find any examples using const_iterator in the test directory, or
> elsewhere, so can't find anything to go by. I thought to manually add those
> typedef's the compilers complaining about, to a Python wrapper class derived
> from MyIterator. Is there another class I can inherit from, in boost or the
> STL, to do this for me?

Wy can't you add them to the iterator itself? That's where they belong.


More information about the Cplusplus-sig mailing list