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

Nathan Sidwell nathan@codesourcery.com
Fri Feb 6 10:43:00 GMT 2004


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 <int> class Q {};
> +  typedef Q<0> R;
> +  template class R;      // ERROR! No typedef name here!
> +  template class Q<0>;   // 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




More information about the Gcc-patches mailing list