From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31515 invoked by alias); 2 May 2012 22:58:36 -0000 Received: (qmail 31504 invoked by uid 22791); 2 May 2012 22:58:35 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 22:58:23 +0000 From: "bkoz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/40380] class documentation should mention include file to use Date: Wed, 02 May 2012 22:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bkoz at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bkoz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC AssignedTo Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg00213.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40380 Benjamin Kosnik changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-05-02 CC| |bkoz at gcc dot gnu.org AssignedTo|unassigned at gcc dot |bkoz at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #3 from Benjamin Kosnik 2012-05-02 22:56:37 UTC --- Just an update on this. From 4.6.0 onward, the file documentation for things like bits/unique_ptr.h now have forwarding text: http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-api-4.6/a01102.html " Detailed Description This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include . Definition in file unique_ptr.h. " I think this is useful, but not as useful as saying that to use std::unique_ptr one needs to include .