toString ugliness

Christopher Wright dhasenan at gmail.com
Sun Dec 7 15:42:41 PST 2008


Sergey Gromov wrote:
> Not correct.  C++ uses the same rules to build overload sets as D.  That
> is, a function declaration in an inner scope hides any function
> declarations with the same name in outer scopes.  I /think/ there should
> be a good rationale behind this design.

I've been using C++ lately, and I'd put it a bit differently:
I think there /should/ be a good rationale behind its design.



More information about the Digitalmars-d mailing list