sum across an array of objects
Ali Çehreli
acehreli at yahoo.com
Sat Jul 28 07:40:31 PDT 2012
On 07/28/2012 07:36 AM, Ali Çehreli wrote:
> reduce() is an algorithm that not more than an InputRange.
That should be:
reduce() is an algorithm that _does not require_ more than an InputRange.
(That is also misleading: reduce() requires an "iterable object", which
can be any type of a range, as well as an object of a type that defines
the opApply() member function.)
Ali
More information about the Digitalmars-d-learn
mailing list