Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2006-12-14 09:26:06


Is it possible that you did not use the correct namespace in the template specialization?

With Kind Regards,

Ovanes Markarian

On Thu, December 14, 2006 15:20, craigp wrote:
> I can't figure out how to override serializating enums (and arrays) - without
> hacking the source code, that is. save_enum_type is defined in
> boost/archive/detail/oserializer.hpp, and converts them into ints (btw, would
> longs be safer?). I tried defining a serialize function and specifying the
> implementation level to object_serializable, but that didn't work (and given
> how it's defined and used, there seems to be no way of overriding via template
> specialization).
>
> Perhaps save_enum_type and save_array_type could be put into a separate header
> (out of the archive/detail and maybe into boost/serialization along with
> vector.hpp, etc)?
>
> BTW, thanks for the great library!
> --craig
>
>
>
>
> ____________________________________________________________________________________
> Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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