Re: [patch] remove bogust const semantics in DocIterator

2007-08-23 Thread Alfredo Braunstein
Andre Poenitz wrote: >> 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. If this is the general feeling, I'll just remove the fake one then (because having a behaving DocIter

Re: [patch] remove bogust const semantics in DocIterator

2007-08-22 Thread Andre Poenitz
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). Somethin

Re: [patch] remove bogust const semantics in DocIterator

2007-08-22 Thread Alfredo Braunstein
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

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Alfredo Braunstein
Andre Poenitz wrote: > Okokok ;-) :-) A/

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Andre Poenitz
On Sat, Aug 18, 2007 at 04:12:36PM +0200, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > On Sat, Aug 18, 2007 at 12:54:56PM +0200, Alfredo Braunstein wrote: > >> Abdelrazak Younes wrote: > >> > >> > Alfredo Braunstein wrote: > >> >> This the same concept as the previous post for CursorSli

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Alfredo Braunstein
Andre Poenitz wrote: > On Sat, Aug 18, 2007 at 12:54:56PM +0200, Alfredo Braunstein wrote: >> Abdelrazak Younes wrote: >> >> > Alfredo Braunstein wrote: >> >> This the same concept as the previous post for CursorSlices. >> > >> > I personally agree with the two patches. >> >> Thanks! I'll apply

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Andre Poenitz
On Sat, Aug 18, 2007 at 12:54:56PM +0200, Alfredo Braunstein wrote: > Abdelrazak Younes wrote: > > > Alfredo Braunstein wrote: > >> This the same concept as the previous post for CursorSlices. > > > > I personally agree with the two patches. > > Thanks! I'll apply on monday if there are no objec

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> This the same concept as the previous post for CursorSlices. > > I personally agree with the two patches. Thanks! I'll apply on monday if there are no objections. btw, we should implement good const semantics for CursorSlice, DocIterator a

Re: [patch] remove bogust const semantics in DocIterator

2007-08-18 Thread Abdelrazak Younes
Alfredo Braunstein wrote: This the same concept as the previous post for CursorSlices. I personally agree with the two patches. Abdel.