Talk:cpp/algorithm/partial sum
From cppreference.com
I suppose this
"The type Ret must be such that an object of type iterator_traits<InputIt>::value_type can be assigned a value of type Ret."
should rather refer to iterator_traits<OutputIt>::valuetype ?