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

Andrew Koenig ark@research.att.com
30 Mar 2002 10:58:40 -0500


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@research.att.com, http://www.research.att.com/info/ark

AltStyle によって変換されたページ (->オリジナル) /