This is the mail archive of the
mailing list for the GCC project.
Re: [WWW PATCH] [PR14618] Document new access checking performed byg++
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Giovanni Bajo <giovannibajo at libero dot it>,Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 20 Mar 2004 10:43:37 +0100 (CET)
- Subject: Re: [WWW PATCH] [PR14618] Document new access checking performed byg++
- References: <0c2301c40c8e$1b71f900$074e2a97@bagio> <firstname.lastname@example.org>
On Thu, 18 Mar 2004, Giovanni Bajo wrote:
> Index: bugs.html
> + <dt><a name="known_cxx_rvalbind">Copy constructor access check while
> + initializing a reference.</a></dt>
Perhaps omit "known_" in the name to keep it shorter and easier to type?
> + <p>Starting from GCC 3.4.0, binding a rvalue to a const reference requires
> + an accessible copy constructor. This might be surprising at first sight,
> + especially since most popular compilers do not implement correctly this
> + rule.</p>
> + <p>For further information, you can consult the following paragraph of
> + This might be surprising at first sight, especially since most
> + popular compilers do not implement correctly this rule. Please,
> + consult <a href="http://gcc.gnu.org/bugs.html#known_cxx_rvalbind">
> + this page</a> for a more exhaustive explanation of this non-bug.</li>
+ This might be surprising at first sight, especially since most
+ popular compilers do not implement correctly this rule
+ (<a href="../bugs.html#known_cxx_rvalbind">further details</a>).
? This makes the link relative, and avoids having "this page" as a link,
which we should avoid due to usability concerns.
The patch is fine with these changes (or others which address my
Thanks, also to Gaby!
Gerald "Jerry" email@example.com http://www.pfeifer.com/gerald/