Re: [Boost-users] Serialization compile issue [SOLVED]
On 9/13/07, Cory Omand
On 9/13/07, Cory Omand
wrote: On 9/12/07, Robert Ramey
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.
a)it is noted in the documentation though I forget exactly where. b)current developement version of the library (i.e. next release) has this restriction lifted. Robert Ramey Cory Omand wrote:
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.
participants (2)
-
Cory Omand
-
Robert Ramey