Set Operations on Set-like Containers
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Nov 2 06:45:41 PDT 2016
Does
https://dlang.org/phobos/std_algorithm_setops.html
support specializations when (some) arguments are
containers/ranges that provide the `in` operator?
Typically set- and map-like containers with O(1) key membership
checking.
If not, should they?
And what about operator overloading for union (|), intersection
(&) and difference (-)?
More information about the Digitalmars-d-learn
mailing list