Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] loading a map having a const mappedvalue type
From: Marco Canini (marco.canini_at_[hidden])
Date: 2009-09-01 06:15:33


Unfortunately using 1.40 doesn't fix my problem.
Can somebody please tell me if the test code I attached in my first post
could ever work?
Thanks!

On Mon, 31 Aug 2009 21:30:33 +0200, Stefan Strasser
<strasser_at_[hidden]> wrote:

> Am Monday 31 August 2009 17:43:31 schrieb Marco Canini:
>> Thanks!
>> I know that will work. My problem is that the program I'm applying boost
>> to uses const and I'd rather not modify that.
>
> either:
> http://www.boost.org/doc/libs/1_40_0/libs/serialization/doc/serialization.html#const
>
> or a free function that constructs the type, like you do with references:
> http://www.boost.org/doc/libs/1_40_0/libs/serialization/doc/serialization.html#references

-- 
Marco Canini

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