Am 15/11/2013 18:41, schrieb Rainer Schuetze:


I actually meant declaration inside template definitions as in your
example:

class WeakReferenced(T)
{
   export __gshared WeakReferenced!T[] m_weakTable;
}

The proposal was that

export alias WeakReferenced!int exported_weak_int_array;

would only export the symbol for m_weakTable, not any other class
symbols like the class info.

I'm not sure if this is a good idea, I'm just exploring possibilities here.

Sounds good to me. It gives the ability to percisely select what gets exported and what not. Basically also matches was C++ does.

Reply via email to