I'm embarrassed to to ask this, but maybe someone could interpret this strange compiler error for me: I am registering a
derived class everywhere that it is archived through a base class pointer:
class MyDerivedClass : public MyBaseClass { … };
class AnotherClass
{
MyBaseClass *p;
…
void serialize(Archive &ar, unsigned int)
{
ar.register_type(static_cast