On Thu, Mar 25, 2010 at 03:57:27PM -0400, Adam D. Ruppe wrote: Gah, that would always trigger. It would actually need to have a helper template and a constraint. So more along these lines:
T opDispatch(string name)() if (isValidName!(name)) {
}
Where the isValidName loops through it.
Poo, I make this mistake often. But the bright side is once this template
is written, you needn't rewrite it to get the goods when using it.
--
Adam D. Ruppe
http://arsdnet.net
