On 07/17/2013 01:33 PM, Jeremy DeHaan wrote:
So I was reading this:
http://wiki.dlang.org/Access_specifiers_and_visibility



After I went through it, I had an idea for a feature that I hope would
be both intuitive and not too difficult to implement.

There is
http://wiki.dlang.org/DIP22 and
https://github.com/D-Programming-Language/dmd/pull/739.
I think that the visibility vs. accessibility distinction inherited from C++ is not a good fit for D's module system. For C++ headers are the mean to hide implementation but that is not a good solution for D modules. There are not many reasons to make private symbols visible and I suggested a consistent rule to handle overloads with mixed protection.

Reply via email to