Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi/serialization: string serialization and const char*
From: François Mauger (mauger_at_[hidden])
Date: 2011-01-02 12:24:52


Hi Hicham

>>>Hicham Mouline a écrit :
>
> hello,
>
>
>
> Including
>
> I mpi::broadcast an object. Its serialization method is split into a
> save() and a load(). In the save(), I send:
>
>
>
> ar << "fixed_params";
>
>
>
what about

ar << std::string("fixed_params"); ?

Hope it helps.

regards

frc

-- 

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