This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++0x] nullptr
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Magnus Fromreide <magfr at lysator dot liu dot se>, Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 3 May 2010 14:55:08 -0700
- Subject: Re: [C++0x] nullptr
- References: <1268546192.2028.32.camel@sara.home> <4BA46E77.6080507@redhat.com> <1269813166.2249.8.camel@sara.home> <4BB12B74.80703@redhat.com> <4BDD0915.2020301@redhat.com> <1272842221.2000.26.camel@sara.home> <4BDE9A34.2010504@oracle.com>
> additionally to Jonathan's comments, I don't understand this member
> typedef, I suspect should simply go away:
...yeah, I don't understand why nullptr_t as defined in cstddef isn't
just being used instead of using the (oft-repeated) __nullptr_t type.
This applies to shared_ptr/unique_ptr/functional.
This will be more interesting to look at this when the patches + trunk
== bootstrap. I suspect the subtle things WRT compat and overloading
will be most easily revealed in the testsuite.
-benjamin