Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-04-03 09:55:38


On Sat, 02 Apr 2005 23:12:21 -0500, Damien * wrote
> has anyone seen this compile error before, and know how to fix it?
>
> /usr/local/include/boost-
> 1_32/boost/archive/detail/iserializer.hpp:428: no type named `type'
> in `struct boost::mpl::eval_if<boost::is_abstract<MyClass>,
>
boost::mpl::identity<boost::archive::detail::load_pointer_type<boost::archive::text_iarchive,
MyClass*>::abstract<MyClass> >,
boost::mpl::identity<boost::archive::detail::load_pointer_type<boost::archive::text_iarchive,
MyClass*>::non_abstract<MyClass> > >'
>
> im trying to serialize a polymorphic class that has a pointer to
> another class of the same type in it. if i comment out that line in
> the serialization function, the error goes away.

When you report issues it's always helpful to include basic information
version of boost (apparently 1.32?), platform (apparently some sort of uni*?),
compiler version...

Jeff


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