http://d.puremagic.com/issues/show_bug.cgi?id=5217



--- Comment #5 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-16 19:42:08 
PST ---
Hmm. I think that I get what you're getting at, though it is a bit odd.
Certainly, requiring static functions is something different. I've never seen a
language do that. I'd still think that you could do it with a static if or
template constraint, but without seeing the code, I'm not sure that it's clear
enough exactly what you're trying to for me to give any kind of real suggestion
about how to g about it with D as it is.

In general, I don't think that I support the idea of enforcing that a type have
a particular set of static functions, but it does seem like a perfectly
legitimate enhancement request. I'm inclined to think that you should probably
be doing things a different way. But I'm not familiar with your code, so I
obviously can't say for sure.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to