On Wed, Aug 22, 2007 at 01:47:42PM +0200, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
> 
> > Okokok ;-)
> 
> What about this? It only adds 13 lines overall, buying us normal
> const_iterator semantics for CursorSlices (Including automatic conversion
> CursorSlice -> ConstCursorSlice). Something similar could be done for
> DocIterator.
> 
> Another option would be to use templates like some stl container do, but I
> don't know what would be the advantage in this case. 
> 
> A third option would be to eliminate const_iterator semantics completely...
> What do people feel about this?

I don't think wee need the hard constness in this case.

Andre'
> 

Reply via email to