Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Please help me solve this compile error.
From: Paul Blampspied (elpidiovaldez5_at_[hidden])
Date: 2014-08-02 16:13:21

Thanks very much. That is exactly what the problem was. It used to work
at one time though. I think the C++ standard may have changed - or maybe
it was in Visual C++ before I switched to a Linux environment.

many thanks.

On Wed, Jul 30, 2014 at 2:48 PM, Bjorn Reese <breese_at_[hidden]>

> On 07/30/2014 04:01 AM, Paul Blampspied wrote:
> boost::archive::binary_oarchive oa(file);
>> oa << PersistentManagedArray<int>(size, capacity, ints);
>> //This line does not compile !
> The stream operator in Boost.Serialization does not take temporary
> objects, so create the PersistentManagedArray<T> object on a separate
> line, and then pass it to the stream.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at