Boost logo

Boost :

From: Eugene Prystupa (prystupa_at_[hidden])
Date: 2006-11-09 20:40:32


Thanks, Joaquín. This solved my problem.

""JOAQUIN LOPEZ MU?Z"" <joaquin_at_[hidden]> wrote in message
news:f8fdfcf14e67.4e67f8fdfcf1_at_tid.es...
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
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk