This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40380] New: class documentation should mention include file to use
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2009 21:36:03 -0000
- Subject: [Bug libstdc++/40380] New: class documentation should mention include file to use
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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