overloading functions against function templates

Jason House jason.james.house at gmail.com
Fri Jul 31 06:20:32 PDT 2009


Walter Bright Wrote:

> Currently, that can't be done. But it would be good to get it in for D2. 
> The question is, what rule to use?

My vote would be to use partial ordering [1] for consistency. I'm just not sure what that would mean in this situation :(

[1]  http://dobbscodetalk.com/index.php?option=com_myblog&show=Function-Overloading-With-Partial-Ordering.html&Itemid=29




More information about the Digitalmars-d mailing list