On Monday, 28 September 2015 at 13:03:50 UTC, Adam D. Ruppe wrote:
This Week in #Dlang - new bugfix release, Windows driver,
Azure+vibe tutorial, tip on uda transformations + mixin
templates
http://arsdnet.net/this-week-in-d/sep-27.html
The tip here is one I've been talking about on irc a little and
decided to write up this time. Using a mixin template to hold
the source code of a thing to be transformed is something I
think is kinda cool.... though I haven't actually used it in a
real project yet. (Actually, I've barely used UDAs in the real
world at all yet. I was so excited for them when they were new,
but it took so long to materialize that I found other ways to
do my stuff and now haven't transitioned!)
Really cool trick. I had to run it and look at the output to
really understand though!
Atila