On Tue, Mar 12, 2002 at 03:42:25PM +0100, Lars Gullik Bjønnes wrote:
> | Because the 'body' will get too ugly for my taste...
> 
> What body?
> can't you just post the function is question here?


void MathCursor::touch()
{
        cursor_type::const_iterator it = Cursor_.begin();
        cursor_type::const_iterator et = Cursor_.end();
        for ( ; it != et; ++it)
                it->xcell().touch();
}

I can't see a way to make this simpler using std::for_each

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to