|
Boost Users : |
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net