allocMultiple

inline fun <R> allocMultiple(count: Int, temp: MutableList<T> = mutableListOf(), callback: (MutableList<T>) -> R): R