This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: ObjC++ template expansion -- Part 1
On Mon, 13 Sep 2004 12:43:28 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
> Furthermore, I think we need to back up and get an explanation of this
> language feature. Objective-C++ seems to want to say "these two types are
> the same (in that you can intra-convert between them) but also not the same
> (in the sense that you have to know which one you have)." If that's the
> case, then I think we've got the wrong approach here. The right way to fix
> that is to have same_type_p return false in that case, and have the
> conversion machinery know that these conversions -- in both directions --
> are permitted.
Agreed.
Jason