
31 Jan
2007
31 Jan
'07
4:18 p.m.
OK. Let me re-phrase this. I believe that the only time BOOST_CLASS_EXPORT (or something like it) should be necessary is when one serializes a derived class through an abstract pointer. It has two functions. First, it ensures that code which would not be otherwise instantiated is in fact instantiated. Second, it relates an externalizable text string to the type being serialized. Robert Ramey David Abrahams wrote:
"Robert Ramey"
writes: BOOST_CLASS_EXPORT should not be necessary. It is only used to assign an external name to a type.
That does not correspond to my understanding.