
Dear Robert,
thanks a lot! I can now, without any larger problem, serialize a class with
a signature similar to
class myClass
:public vector
STATIC_ASSERTION_FAILURE
indicates that some error condition has been detected at compile time.
In all such cases, there is a comment indicating the likely cause of the error. I don't know which version of boost your using so I can't look for the comment for you - but I'm sure you can find it now you know what to look for.
Looking at you code, I can see you're trying to serialize a shared pointer to an integer. addresses of prmitive types (int) are by default not tracked as doing so would end up tracking ALL the ints serialized which is not what most people would expect. if you want to do this you'll have to wrap the int in a class so its type can be distuished and it can then be tracked. Then I believe that serializing a pointer to your wrapped class will function as you hope and expect.
Robert Ramey
[... Original posting deleted - see archive ...]