Talk:cpp/algorithm/partial sum

I suppose this

"The type Ret must be such that an object of type iterator_traits::value_type can be assigned a value of type Ret."

should rather refer to iterator_traits::valuetype ?

Mwe (talk) 05:53, 20 July 2015 (PDT)
 * No, output iterators don't have value types. The text is correct as written (it's referring to the accumulator - the step). T. Canens (talk) 09:45, 20 July 2015 (PDT)