|
Boost : |
From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2006-11-09 13:09:32
Hello Eugene,
----- Mensaje original -----
De: Eugene Prystupa <prystupa_at_[hidden]>
Fecha: Jueves, Noviembre 9, 2006 6:59 pm
Asunto: [boost] Boost Serialization/Archive for boost::variant using
Microosft Visual C++ 2005 compiler
Para: boost_at_[hidden]
> Hi folks,
>
> I have a problem using boost::binary_oarchive with MSVS C++ 2005
> compiler. I'm > using boost 1.33.1. Consider a small example
> below:
[STATIC_ASSERTION_FAILURE whn trying to save a non-const object]
> Serializing primitive types like 'int' has no problems. Any help
> is greatly
> appreciated.
See
http://boost.org/libs/serialization/doc/rationale.html#trap
for an explanation of the problem. HTH,
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk