Evaluate an InputIterator sequence and return the last value in the sequence.
T
result_type `InputIterator` `InputIterator`

`first != last`

Dereferences every iterator in the sequence `[first, last)`.

The result of dereferencing the iterator `last-1`.

void
Evaluate an InputIterator sequence.
unspecified
result_type `InputIterator` `InputIterator`

Dereferences every iterator in the sequence `[first, last)`.