[Python-Dev] PEP 285: Adding a bool type

Andrew Koenig ark at research.att.com
Sat Mar 30 10:58:40 EST 2002


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.

-- 
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark




More information about the Python-list mailing list