[Bug libstdc++/42925] Not possible to compare unique_ptr with 0
gcc at magfr dot user dot lysator dot liu dot se
gcc-bugzilla@gcc.gnu.org
Mon Feb 1 17:19:00 GMT 2010
------- Comment #3 from gcc at magfr dot user dot lysator dot liu dot se 2010-02-01 17:19 -------
I think the code is valid.
The unique_ptr(nullptr_t) constructor should take the 0 and build an empty
unique_ptr object that is compared with ptr.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42925
More information about the Gcc-bugs
mailing list