Shawn
class Container<T> { operator fun iterator(): Iterator<T> = TODO() } fun foo(container: Container<*>) { for (bar in container) { // do stuff with bar } }