Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] loading a map having a const mappedvalue type
From: Stefan Strasser (strasser_at_[hidden])
Date: 2009-08-31 15:30:33


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


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