$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Serialization] XML serialization of class with abstract template ancestors
From: Terry Roberts (terryr_at_[hidden])
Date: 2009-10-29 23:27:38
That was it! I had previously made the substitution, but mistakenly included the '<', '>' and ':' anyway. Replacing the macro in Derived::serialize() with the expansion below solves the problem.I would be very suspicious ofBOOST_SERIALIZATION_BASE_OBJECT_NVP(AbstractTemplate<std::string>)since the "name" is taken from the argument. Look at this macro definition andexpand it by hand.