I slightly prefer a more explicit "moveToEnd(false);" and since moveToEnd(false) has a side-effect of setting m_begin, I would slightly prefer this function to explicitly set m_begin to false only in the else clause.