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]

Re: PATCH for templates/conversion operators


>>>>> Mark Mitchell <mark@markmitchell.com> writes:

>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
Jason> Note that LOOKUP_EXPRs also represent lookups of
Jason> non-dependent names, which was the motivation for storing
Jason> the result of the lookup.  We don't currently use that
Jason> stored lookup (or distinguish between dependent and
Jason> non-dependent names), but we ought to.

> I don't understand.  In the end, we want to bind non-dependent names
> at the point where they're seen, because that's what it means to be
> non-dependent.  So, why would we need a LOOKUP_EXPR for them?

That would work too, but would slow down parsing of templates even more.

> That said, I'll undo the change if you like.

No need; we'll burn that bridge when we come to it.

Jason


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