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?


Reply via email to