Hi, why does this work:

void* opUnary(string s)() if (s == "*"){...

but this not:

void* opUnary("*")() {...


If the first syntax is the only possible one, can I have several opUnary entries per struct/class or do I have to build a big switch inside the code section and use "s" to dispatch to correct handler?

--
Robert M. Münch
http://www.robertmuench.de

Reply via email to