Skip to content

AdditiveIterator and MultiplicativeIterator should be implemented on all iterators with Add/Mul items #21094

@Tobba

Description

@Tobba

Currently both AdditiveIterator and MultiplicativeIterator are implemented on specifically all iterators over the base integer types. This is strange as they could be generically implemented over all iterators with items implementing Add/Mul. Moreover, the concepts of summation and products aren't exactly limited to iterators (although these traits actually have no requirement of being implemented on iterators).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions