fn for_all_argument_indexes(
    template: &mut [FormatArgsPiece],
    f: impl FnMut(&mut usize)
)