
23 Apr
2004
23 Apr
'04
4:11 p.m.
David Abrahams wrote:
I brought up this issue a few weeks ago. I was thinking we should be able to write
rvalue(_1)
or maybe
cref(_1)
to pass rvalues.
The problem is that the BPL operator() looks like this: template<class A0> R operator()(A0& a0) AFAIK there's no way to insert a const there, other than providing the full 2^N overload set. -- Daniel Wallin