2#ifndef TETL_NUMERIC_ACCUMULATE_HPP
3#define TETL_NUMERIC_ACCUMULATE_HPP
12template <
typename InputIt,
typename Type>
13[[nodiscard]]
constexpr auto accumulate(InputIt first, InputIt last, Type init)
noexcept -> Type
15 for (; first != last; ++first) {
24template <
typename InputIt,
typename Type,
typename BinaryOperation>
25[[nodiscard]]
constexpr auto accumulate(InputIt first, InputIt last, Type init, BinaryOperation op)
noexcept -> Type
27 for (; first != last; ++first) {
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 accumulate(InputIt first, InputIt last, Type init) noexcept -> Type
Computes the sum of the given value init and the elements in the range [first, last).
Definition accumulate.hpp:13
Definition adjacent_find.hpp:8