On 2015-09-29 14:10, Adam D. Ruppe wrote:

Though, I just had an idea on how that might be simplified.... don't
recreate them, just alias them!

So, conceptually, you'd do something like:

template transformer(alias member) {
     static if(hasUDA!(member, thing))
         alias member = member;
mixin staticMap!(AllMembers!impl_module, transformer);

This looks even more interesting :)

/Jacob Carlborg

Reply via email to