No household is perfect
Joshua Niehus
jm.niehus at gmail.com
Tue Dec 3 18:59:34 PST 2013
On Tuesday, 3 December 2013 at 22:28:26 UTC, H. S. Teoh wrote:
>[snip] Then you can write:
>
> Set a, b, c;
> auto d = mixin(SetExpr!"a ∪ (b ∩ c)");
> // The above line gets turned into:
> // auto d = a.union(b.intersection(c));
> // at compile-time.
>
> So you can write your set expressions the "natural" way, *and*
> [snip]
This would make for a good blog post/wiki article. Does one
already exist?
More information about the Digitalmars-d
mailing list