David> void f(int const&);
David> f(false); // error!
For the sake of nitpicking correctness, I cannot help but point out
that there is nothing wrong with the call of f(false) above unless you
drop the "const" from f's parameter type.
Back to the thread
Back to the list