refs_ref_iterator_begin(): new function