
Noah Roberts wrote:
I "fixed" this problem (and it was the use of typeid deep inside of the shared_helper reset() function) by changing the order that I saved things in a containing object.
I don't see any typeid inside of that function in the current version.
The two types are completely unrelated except that they are both contained by the same thing. The only thing I can think of is that the object I added after these broken ones used BOOST_CLASS_EXPORT to register and the broken objects are registered at the beginning with ar.template register<type>(). Is there some weird way that these two methods can poorly interact or something?
I don't know if we explicitly test this - by maybe we do. I'm sure that I would have expected a user to use one or the other of the two methods rather than both. Some previous versions of the library were very slow when doing some operations related to exported types. I believe this problem no longer exists. Of course, without knowing which version you're using I can't say if this is a problem. Robert Ramey