I was reading the documentation for unique_ptr: http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00587.html
This mentions unique_ptr.h -- but that is not a user-allowed header file. Instead the user ought to write "#include <memory>". This is not mentioned anywhere, but IMO it should be. -- Summary: class documentation should mention include file to use Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40380