Python is DOOMED! Again!

Paul Rubin no.email at nospam.invalid
Sun Feb 1 17:02:04 EST 2015


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> C has a single nil pointer compatible with all pointer types.

C++11 has a separate type just for the null pointer, which can be
automatically coerced to other pointer types.  I'm not sure but I think
that means it is couthing up slightly.

http://en.cppreference.com/w/cpp/types/nullptr_t
http://en.cppreference.com/w/cpp/language/nullptr



More information about the Python-list mailing list