14 Jul
2014
14 Jul
'14
9:13 a.m.
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>.