Function traits at compile time

Victor Nakoryakov nail-mail at mail.ru
Mon Jun 12 07:36:50 PDT 2006


Hi all,

Consider code:

class MyClass(StructT)
{
...
}

I know, that StructT has a function `foo` in it, but I don't know number 
of parameters and their types, of course. Does anybody knows a way to 
extract types to use them in `static if ( is(...) )` statements?


-- 
Victor (aka nail) Nakoryakov
nail-mail [at] mail.ru

Krasnoznamensk, Moscow, Russia



More information about the Digitalmars-d mailing list