Boost logo

Boost :

Subject: Re: [boost] [serialization] rvalues and const-correctness?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-11-06 15:51:11


Robert Ramey skrev:
> David Abrahams wrote:

> Couldn't we add this overload to the
>> archives, or even simply replace the existing operator with this one?
>>
>> template<class T>
>> Archive & operator<<(T const & t){
>> // ^^^^^------------- Note
>> this->This()->save_override(t, 0);
>> return * this->This();
>> }
>
> Aaaa - I would have to spend some time to look into that.

Isn't this the debate we have had so many times?

-Thorsten


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