This one has no extra functionality at all, and its only purpose is to be used in range-based for loops. If there is a cleaner way to do this, feel free. Not sure if this functionality could or should be combined with either of the two existing iterator classes related to FormulaTokenArray (FormulaTokenIterator and FormulaTokenArrayPlainIterator). Probably not.
c3fae6b Add yet another kind of iterator for the two arrays in FormulaTokenArray
formula/source/core/api/token.cxx | 48 ++++++++++++++++++---------------------
include/formula/tokenarray.hxx | 36 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 26 deletions(-)