T InputIterator InputIterator T command_queue & The sum of the elements. Returns the sum of the elements in the range [first, last) plus init. T InputIterator InputIterator T BinaryFunction command_queue & The result of applying function to the elements. Returns the result of applying function to the elements in the range [first, last) and init.