
dllexport instantiated static template member
Does anybody know how to export/import a static member of
an instantiated template class, i.e. e.g.
template <class T> class A
{ ...
static member;
Quote:
};
Say, I want to instantiate and share A<int>. I tried
template __declspec(dllex/import) A<int>;
Problem: there are two instances in my program, one used within
the DLL and one within the main program.
Thanks for any help,
Andreas