Nano
A C++ template metaprogramming library
nano::detail::accumulate< List, Iteration, StartIndex, EndIndex, Value, Operation > Struct Template Reference

Like std::accumulate, where the start and end indices, and the accumulation functor can be specified. More...

#include <list_functions.hpp>

Detailed Description

template<typename List, std::size_t Iteration, typename StartIndex, typename EndIndex, typename Value, template< typename...> class Operation>
struct nano::detail::accumulate< List, Iteration, StartIndex, EndIndex, Value, Operation >

Like std::accumulate, where the start and end indices, and the accumulation functor can be specified.

Template Parameters
ListThe list to accumulate
IterationThe iteration of the function
StartIndexThe index of the element in the list to start accumulating from
EndIndexThe index of the element in the list to end accumulating at
ValueThe value of the accumulation
Parameters
OperationThe operation to apply (multiply, add ...)

The documentation for this struct was generated from the following file: