|
Boost Users : |
From: Gary Granger (granger_at_[hidden])
Date: 2005-04-13 13:06:06
Alex Olivas wrote:
> I'm trying to serialize an abstract base class.
> I used the BOOST_IS_ABSTRACT macro,
> but the compile fails with the following error...
>
> public/dataclasses/I3Particle.h:225: syntax error before `namespace'
> public/dataclasses/I3Particle.h:225: syntax error before `}' token
>
> line 225 of I3Particle is...
> BOOST_IS_ABSTRACT(I3Particle);
The macro is defined in <boost/serialization/is_abstract.hpp>. Did you
include that file? I had a similar problem when trying to use SPLIT, before
I realized I needed to include another header to get the definition.
gary
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