Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-11-09 12:34:14

"Beman Dawes" <bdawes_at_[hidden]> wrote in message
> At 11:30 PM 11/8/2004, Robert Ramey wrote:
> >
> >"Beman Dawes" <bdawes_at_[hidden]> wrote in message
> >
> >
> >> The ability to serialize based on either the actual internal physical
> >> representation (for "just boost" libraries) or on a logical
> >representation
> >> provided by member functions (for "std" libraries) is really cool,
> >>
> >
> >perhaps, but I don't know that one can know that it will always be
> possible
> I guess it wouldn't be possible if there were important state information
> that is not directory exposed or reconstructible. But I'm not sure how
> common that is. Not very common in "std" libraries, I would guess.

It turned out I was able to implement serialization for all the stl
depending upon only the public interface. This is similar to your case. The
funny part is that it never occurred to me that this was key to portability.

I wasn't able to do this with shared_ptr and its becoming apparent that its
not going to be obvious on how to do it.

Robert Ramey

Boost list run by bdawes at, gregod at, cpdaniel at, john at