From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-03-08 08:16:36
"Pavel Chikulaev" <pavel.chikulaev_at_[hidden]> wrote in message
>> - There should be an implicit conversion sequence that allows to evaluate
>> a lazy expression:
> Already works.
> void fun(Matrix &);
> Matrix a, b, c;
> fun(a + b * c * (a + b)); //compiles just fine.
Oops. It won't work.
void fun(const Matrix &);
Matrix a, b, c;
fun(a + b * c * (a + b)); // Now it works.
-- Pavel Chikulaev
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk