Right, in most cases you could replace begin(), end() with whole container &#x2F;
range, when considering arguments to the algorithm function. Though, there are
some exceptions, like std::rotate, or just cases where you want to place result
in the same container.<p>Looking from the perspective of implementation of those algorithms, it is no
longer that simple and single iterator is rarely sufficient, consider:
std::unique, std::reverse, std::partition, std::sort, std::inplace_merge
to name a few, where there is much more to it than just checking for end.