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