Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-06-02 12:13:22


Hmmm - where does this class name come from if the class isn't exported?

Would this mean that to make YAML archive, all class names MUST
be exported? What about primitives like "int", do they need class
names as well?

I would guess this needs more thought.

Robert Ramey

Esteve Fernandez wrote:
> Hi all, I'm working on the "YAML archives for Boost.Serialization"
> GSoC project and I've already implemented a working output archive.
> However, since YAML requires the class name to be always serialized,
> I had to implement the serialization of a new type called
> class_name_optional_type in basic_oarchive.cpp, which lets the
> archive decide if class names should always be written. It was
> discussed in the past [1], but never implemented, AFAIK.
>
> Cheers.
>
> PS: should I send the patch to this list or is it better to create a
> new ticket?
>
> 1 - http://lists.boost.org/boost-users/2006/06/20319.php
> _______________________________________________
> 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