Address vertex isolation comments from Gerhard
There are multiple comments from @graven that came slightly late that need to be addressed:
There is still a problem here when
begin(range)==end(range)
, as thenaccumulate
never stops... (as one cannot reachend(range)
fromnext(begin(range))
). So there must be some test for empty ranges prior to this statement, and I don't see it... what am I missing?