
8 Mar
2005
8 Mar
'05
1:16 p.m.
"Pavel Chikulaev" <pavel.chikulaev@gmail.com> wrote in message news:d0k7sp$au4$1@sea.gmane.org...
- There should be an implicit conversion sequence that allows to evaluate a lazy expression: Already works. Example: 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