Boost logo

Boost :

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


Andrey Semashev wrote:

> Why would you want r2? I mean, in what case would you intentionally write
> code to employ recursive references?

You don't write code to "employ recursive references". You write code that
applies ref to an object of type T and stores the result in
reference_wrapper<T>.


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