OutputIterator InputIterator InputIterator OutputIterator command_queue & An iterator pointing to the end of the result range. Stored the difference of each pair of consecutive values in the range [first, last) to the range beginning at result.