Boost logo

Boost Users :

From: Cory Omand (coryomand_at_[hidden])
Date: 2007-09-13 11:31:38


On 9/13/07, Cory Omand <coryomand_at_[hidden]> wrote:
> On 9/13/07, Cory Omand <coryomand_at_[hidden]> wrote:
> > On 9/12/07, Robert Ramey <ramey_at_[hidden]> wrote:
> > > Try the following change.
> > >
> > > Read the explanation in the "rationale" section.
> >
> > Hi Robert,
> >
> > Thanks for your reply. I actually did read the rationale section
> > prior to coding this example. However, I would have expected the
> > STATIC_ASSERT trap if I was passing the wrong thing to the serializer
> > (as I did while trying to serialize pointers in a different example).
> > I ended up with the sample code I attached to the previous mail via
> > the serialization test 'test_map.cpp', which does not serialize via a
> > const ref to the map.

I came across a posting on another mailing list that suggested that
the archive includes should come *before* the serialization includes.
This fixed my compile issue. Is there a note about this anywhere in
the documentation that I might have missed?

- C.


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