Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Cannot serialize multimap.
From: Germán Diago (germandiago_at_[hidden])
Date: 2009-10-22 05:03:36


Hi.

I have a multimap<A, B> where A and B are not default constructible.

I provided load_construct_data and save_construct_data for both,
but the library doesn't allow me to serialize this multimap.

It fails at compile time:

It seems to be the library trying to use default constructors.
Does anyone know any way or a workaround or whatever to make this
compile correctly? Thanks in advance.


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