DIP66 - Multiple alias this
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 11 03:42:29 PDT 2014
On 2014-10-11 00:52, Walter Bright wrote:
> I like the C++ rule that says that access control is not considered for
> name lookup. I know it makes for some annoying results, but the
> simplicity of the rule makes it much more understandable.
I'm not so sure about that. Perhaps it makes it more understandable for
a language designer. But not for a user. You try to call a function but
you get a conflict with a private symbol. The user will get frustrated
thinking: "stupid compiler, of course I want to call the public function".
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list