Creates multiple independent iterators from a single iterator.
The iterator that was passed in should not be used, as it will be in an undefined state once iteration of any teed iterators begin.
type of the items
the number of independent iterators to create
Creates two independent iterators from a single iterator.
The iterator that was passed in should not be used, as it will be in an undefined state once iteration of any teed iterators begin.