
26 May
2010
26 May
'10
7:50 a.m.
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