Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Serialization Difference in Archive Versions
From: Lars Viklund (zao_at_[hidden])
Date: 2014-03-06 13:02:45

On Thu, Mar 06, 2014 at 10:47:46AM -0500, Lynn Gilbert wrote:
> Hope everyone is doing well.
> 4 ifs = new std::ifstream(file.c_str()) ;

Just picking some tangential nits, not actually answering your original

You probably want to open your file in std::ios::binary mode to avoid
newline translation and premature EOF.

Lars Viklund | zao_at_[hidden]

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