
10 Mar
2011
10 Mar
'11
2:49 p.m.
On Wed, Mar 9, 2011 at 6:48 PM, Mathias Gaunard < mathias.gaunard@ens-lyon.org> wrote:
To allow rvalues and propagate constness, so as to make it behave more like a typedef or macro.
In the snippet you gave, of course, it needs to be non-const. But it's good practice to provide both when you write such adaptors.
Could you provide a snippet in which the "rvalues and propagate constness" needs to occur? Ryan