https://issues.dlang.org/show_bug.cgi?id=4725 --- Comment #35 from Andrei Alexandrescu <andrei at erdani.com> --- sum should work with all ranges, and get specialized only for specific kinds of ranges. Is that not the case? --