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.