Boost logo

Boost :

Subject: Re: [boost] [async] messages threads and networks
From: Sohail Somani (sohail_at_[hidden])
Date: 2010-04-25 19:27:08


On 4/25/2010 6:48 PM, Robert Ramey wrote:
> polymorphic_oarchve * poa;
> if( encoding = "Neat Bytes")
> poa = boost::archive::polymorphic_text_oarchive oa(ss);
> else
> poa = boost::archive::polymorphic_binary_oarchive oa(ss);
> ..
> *poa<< ....

I think a couple of new statements are missing, but that is how I would
choose at run time.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk