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.
