When I try to compile a std::set< std::weak_ptr< int > >, it fails. However, when I try to compile the exact same code but using boost::weak_ptr instead, it works.
-- Summary: Usage of std::weak_ptr in ordered stl container (C++0x) Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcayouette at spoluck dot ca GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44339