Internal linkage - equivalent of C++ global static and anonymous namespaces

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 13 19:03:32 PDT 2014


On Thursday, 12 June 2014 at 14:48:41 UTC, Dicebot wrote:
> On Thursday, 12 June 2014 at 14:23:59 UTC, Jacob Carlborg wrote:
>> On 12/06/14 11:48, Kagamin wrote:
>>> Why private members can't have internal linkage?
>>
>> It's currently possible to access private symbols through 
>> pointers.
>
> And aliases with different qualifiers. And via return values. 
> And with pretty much anything that does not require to type 
> symbol identifier explicitly.

http://blog.omega-prime.co.uk/?p=121


More information about the Digitalmars-d mailing list