https://issues.dlang.org/show_bug.cgi?id=7083

kinke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from kinke <[email protected]> ---
(In reply to Martin Nowak from comment #2)
> > as the code/data for one module can be distributed among several object 
> > files
> 
> Do you mean the multilib support?

```
private __gshared int something;

int getSomething(T)() { …; return something; }
```

If the (public) template is instantiated and emitted into another object file /
binary, it still needs to be able to access the private symbol.

--

Reply via email to