Boost logo

Boost :

Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-05-26 03:50:54


On 25/05/2010 23:15, Jeffrey Lee Hellrung, Jr. wrote:
> If you're writing a generic algorithm that invokes a function (perhaps
> one given to the algorithm as a parameter) which happens to return an
> rvalue, and you want to ensure that this rvalue gets captured as an
> rvalue reference, you can wrap the function call in a macro that will
> ensure such a translation takes place in C++03. That is,

Ok, thanks for the explanation, this sounds useful.

Best,

Ion


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