www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - improve compile-time template

Hi, I would like to see a few improvement suggestions for my 
template which can be found here: http://dpaste.1azy.net/9bf89ef9
It works mostly pretty nice so far, but it's a bit clumsy and I'm 
sure that it could be improved. Also it does not work correct for 
cases like
void foo(ref A a, int n) (as you can see by 'foo').
Apr 26 2013