|
Boost : |
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-04-23 11:11:54
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk