This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Additional C++ entries in changes.html


Giovanni Bajo wrote:
Hello,

the following patch adds new entries for changes in G++ 3.4, as requested by
PR/13847 (which is real life experience of upgrading an existing, large
codebase to 3.4). Volker verified for me this is valid XHTML 1.0.
This looks good,


+ friend class B; // ERROR! No typedef name here! + friend B; // ERROR! friend always needs class/struct/enum + friend class A; // OK! + }; + + template &lt;int&gt; class Q {}; + typedef Q&lt;0&gt; R; + template class R; // ERROR! No typedef name here! + template class Q&lt;0&gt;; // OK!</pre></li> </ul>
Personally, I'd remove those (and other) '!'s -- no need to shout

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]