|
Boost : |
Subject: Re: [boost] VC10 config - some regressions in several libraries
From: Jeffrey Lee Hellrung, Jr. (jhellrung_at_[hidden])
Date: 2010-04-29 16:46:06
Ion Gaztañaga wrote:
> On 29/04/2010 22:01, Jeffrey Hellrung wrote:
>> To reiterate: is it possible to just use a lvalue reference for the
>> member variable?
>
> I don't think so, because we would lose the rvalueness of the catched
> parameter and we could not longer distinguish between passed lvalue or
> lvalu references to forward them correctly.
I thought the rvalue- or lvalue-ness was encoded in the type of the
template parameter Arg? I.e., Arg = T& or Arg = T const& is an lvalue
reference; Arg = T (no reference qualifiers) or Arg = T&& is an rvalue
reference.
- Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk