This is the mail archive of the
mailing list for the GCC project.
Re: PATCH for templates/conversion operators
>>>>> Mark Mitchell <email@example.com> writes:
>>>>> "Jason" == Jason Merrill <firstname.lastname@example.org> 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.