#include <di/container/algorithm/sum.h>
|
template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, concepts::DefaultConstructible T = meta::IteratorValue<Iter>>
requires (concepts::IndirectlyBinaryLeftFoldable<function::Plus, T, Iter>) |
constexpr auto | operator() (Iter first, Sent last) const |
|
template<concepts::InputContainer Con, concepts::DefaultConstructible T = meta::ContainerValue<Con>>
requires (concepts::IndirectlyBinaryLeftFoldable<function::Plus, T, meta::ContainerIterator<Con>>) |
constexpr auto | operator() (Con &&container) const |
|
◆ operator()() [1/2]
template<concepts::InputContainer Con, concepts::DefaultConstructible T = meta::ContainerValue<Con>>
requires (concepts::IndirectlyBinaryLeftFoldable<
function::Plus, T,
meta::ContainerIterator<Con>>)
auto di::container::detail::SumFunction::operator() |
( |
Con && | container | ) |
const |
|
inlineconstexpr |
◆ operator()() [2/2]
template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, concepts::DefaultConstructible T = meta::IteratorValue<Iter>>
requires (concepts::IndirectlyBinaryLeftFoldable<
function::Plus, T, Iter>)
auto di::container::detail::SumFunction::operator() |
( |
Iter | first, |
|
|
Sent | last ) const |
|
inlineconstexpr |
The documentation for this struct was generated from the following file:
- libs/di/include/di/container/algorithm/sum.h