iter-identify_first_last
A helper iterator, flagging first and last elements.