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

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


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.

You don't need a symbol in the object file for that.


More information about the Digitalmars-d mailing list