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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60168
--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
The standard also specifies the behaviour of ~unique_ptrT,D in terms of
comparing the stored pointer with nullptr.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60168
--- Comment #3 from Ashish Sadanandan ashish.sadanandan at gmail dot com ---
You are right, of course. Not a bug, but it's disappointing that it isn't. If
that comparison were against a value initialized unique_ptrT, D::pointer,
instead of