http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436
--- Comment #17 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-09 11:46:12 UTC --- Eg, this works perfectly well already, since I added the insert members: set<unique_ptr<int>> s; unique_ptr<int> up; s.insert(std::move(up));