NULL v. zero
Posted Jul 15, 2004 18:23 UTC (Thu) by dvdeug
In reply to: NULL v. zero
Parent article: NULL v. zero
Yes, it is weak type checking. The only way C++ is a strong type checking language is if you compare it to C or Assembly. If you used Ada or Java, or any of a hundred different languages, you couldn't convert a constant of type integer to a pointer. 0, standing alone in a strong typing system is not ambigious, and it doesn't change type depending on what things you stick around it.
to post comments)