Boost logo

Boost :

Subject: Re: [boost] [core] Breaking change to boost::ref in 1.56
From: Peter Dimov (lists_at_[hidden])
Date: 2014-07-13 12:18:35


Agustín K-ballo Bergé wrote:
> I have been going over the changes and I recall some more stuff now.
> Before I disabled creating references to rvalues, `boost::ref` was doing
> "accidental reference collapsing" for two levels of wrapping.

I'm not sure I understand. Can you post the code example that demonstrates
the accidental collapsing before the rvalue change?


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