The Sweet With

Tomasz Tomasz
Thu Mar 5 04:38:23 PST 2009


Walter Bright Wrote:

> It looks nice, but has a subtle and disastrous problem. In D, arguments 
> are fully resolved *before* overloading is done. If some of the 
> overloads have with declarations, then there's a nightmarish problem of 
> trying to mix overloading and argument resolution together.

Not sure if I understand right. Can you write up a simple example of the nightmare?

Tomek



More information about the Digitalmars-d mailing list