------- 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