[C++0x] nullptr

Paolo Carlini paolo.carlini@oracle.com
Mon May 3 09:41:00 GMT 2010


Hi,

additionally to Jonathan's comments, I don't understand this member
typedef, I suspect should simply go away:

@@ -234,7 +239,7 @@
     class unique_ptr<_Tp[], _Tp_Deleter>
     {
       typedef std::tuple<_Tp*, _Tp_Deleter>  __tuple_type;
-      typedef _Tp* unique_ptr::*             __unspecified_pointer_type;
+      typedef decltype(nullptr)*             __nullptr_t;


Paolo.



More information about the Libstdc++ mailing list