Lars Gullik Bj�nnes wrote:
> Yes... this only works when pointers are used as iterators.
>
> btw. shouldn't nextInset return an iterator?
>
> if not:
>
> MathAtom * MathIterator::nextInset() const
> {
> if (position().pos_ == xcell().data_.size())
> return 0;
> return const_cast<MathAtom *>(&*(xcell().begin() + position().pos_));
> }
>
> will perhaps work. Looks a bit dangerous though.
>
> --
> Lgb
It compiles. Don't know about "dangerous" yet ;)
Garst
- mathed compile problem Garst R. Reese
- Re: mathed compile problem Garst R. Reese
- Re: mathed compile problem Garst R. Reese
