On 04/10/2010 09:04 PM, BCS wrote: > Hello Ellery, > > > I think you might be able to do: > > ret!(T) opDispatch(string s, T)(T t) { ... } > > and then switch internally based on T. > I don't think so; it looks like dmd rewrites invocations as opDispatch!("x")