May 02, 2015
On Friday, 24 April 2015 at 07:33:42 UTC, weaselcat wrote:
> C++ has mach7 for pattern matching, all done in metaprogramming AFAIK. I doubt anything like that could be done in D without being far uglier.

Ran across this paper that describes C++ patternmatching, haven't studied it closely, but worth a look:

http://www.stroustrup.com/OpenPatternMatching.pdf
1 2 3 4 5
Next ›   Last »