Alfredo Braunstein wrote: > A bit hacky, though. > > Would be more straightforward if PosIterator had a vector instead of > a stack as internal container, so I could have a InsetOld * > PosIterator::inset() method.
This is presumably not for now, but if you want neat code, why not define SpellcheckIterator that derives from PosIterator but which overrides operator++, operator--? -- Angus
