[C++ PATCH]: Fix 9447

Nathan Sidwell nathan@codesourcery.com
Thu Jul 24 12:07:00 GMT 2003


Mark Mitchell wrote:
> On Tue, 2003-07-22 at 10:14, Nathan Sidwell wrote:

> Is this a correct implementation of ISO-style using declarations, rather
> than ARM-style access declarations?
I see not. I was confused by wording in 7.3.3/14 which talks about
using declarations not resolving inherited member ambiguities.
I thought we were already doing the right thing. (We might be for
functions.)

> Doesn't something have to call handle_class_using_decl during template
> instantiation, to parallel what the parser does for non-templates?
the using_decl goes onto the template class's decl list and processed
during instantiation in the usual way.

this patch only makes sure that (a) there's something bound to the
identifier, (b) we know the thing found is dependent.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-patches mailing list