[#1732] cannot use modern begin/end free functions for iteration