Problem with coupling shared object symbol visibility with protection

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 29 02:21:23 PST 2015


On 1/28/2015 5:19 AM, Benjamin Thaut wrote:
> On Wednesday, 28 January 2015 at 11:01:09 UTC, Walter Bright wrote:
>
>> The example had marked the template itself as 'export'. This raises the
>> specter of which binary the template instantiation exists in.
>>
>
> The export in this context actually means "export all instanciations of this
> template". And this is needed to avoid using -allinst everywhere.

The problem is what happens when the client side instantiates the template, 
which it must in order to use it.


More information about the Digitalmars-d mailing list