import concerns (was Re: Historical language survey)
kris
foo at bar.com
Fri Jul 7 22:18:42 PDT 2006
Walter Bright wrote:
> Brad Roberts wrote:
[snip]
>> How much begging would it take to try for a release or two having
>> private symbols invisible to the importer? It's really much more
>> intuitive, imho. I haven't looked at this part of the front end code,
>> but if it's easy, feel free to make it controllable via a compiler
>> option just for the experiment's time frame.
>
>
> The problems happen when one has:
>
> void foo(int x);
> private void foo(long x);
>
> So the first foo is found, then overload rules apply, and the second foo
> is selected.
So, in D, what does private actually mean? The verbose version if you
wouldn't mind, with all known corner-cases noted?
I think the full explanation would help a lot, since it's often easier
to remember the things one should not do, rather than those one should.
More information about the Digitalmars-d
mailing list