I don't know how to avoid this either.  If you figure out how to do this let me know
 
Robert Ramey

And when i archive the array in another .cpp the exception is raised, because

the class B<int> as not been exported.

 

I would like to avoid explicitly declare

BOOST_CLASS_EXPORT_GUID(B<int>, "B_int")

 

For each instanciation of B<> somewhere in the glo bal space.