2#ifndef TETL_NUMERIC_PARTIAL_SUM_HPP
3#define TETL_NUMERIC_PARTIAL_SUM_HPP
23template <
typename InputIt,
typename OutputIt,
typename BinaryOperation>
24constexpr auto partial_sum(InputIt first, InputIt last, OutputIt destination, BinaryOperation op) -> OutputIt
33 while (++first != last) {
42template <
typename InputIt,
typename OutputIt>
43constexpr auto partial_sum(InputIt first, InputIt last, OutputIt destination) -> OutputIt
constexpr auto move(InputIt first, InputIt last, OutputIt destination) -> OutputIt
Moves the elements in the range [first, last), to another range beginning at destination,...
Definition move.hpp:26
constexpr auto partial_sum(InputIt first, InputIt last, OutputIt destination, BinaryOperation op) -> OutputIt
Computes the partial sums of the elements in the subranges of the range [first, last) and writes them...
Definition partial_sum.hpp:24
Definition adjacent_find.hpp:8
Function object for performing addition. Effectively calls operator+ on two instances of type T....
Definition plus.hpp:14