Couldn't you use setIntersection together with reduce?
Doesn't seem like the most efficient solution, but its less typing and most likely will have no bugs.
Sebastiaan Koppe via Digitalmars-d-learn Wed, 09 Sep 2015 19:51:57 -0700
Couldn't you use setIntersection together with reduce?
Doesn't seem like the most efficient solution, but its less typing and most likely will have no bugs.