
29 Apr
2010
29 Apr
'10
9:32 p.m.
On 29/04/2010 22:46, Jeffrey Lee Hellrung, Jr. wrote:
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.
Ummm, you are right. That should do the trick to implement some ad-hoc forwarding in store and forward classes. Best, Ion