Wouldn't be surprising to you?

-Steve

No need to go that far.

void fn(const A, A) {...}
A a;
fn(a, a); // what do you expect here?

As far as i know D/C++ have the same treatment for const member functions.
It has been this way forever.

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to