[Bug c++/60168] Incorrect check in ~unique_ptr() when Deleter::pointer type is not a pointer type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 13 05:43:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60168

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Not a bug, the type unique_ptr<T,D>::pointer must meet the requirements of a
NullablePointer which includes being comparable with nullptr, so int is not
allowed



More information about the Gcc-bugs mailing list