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]
Other format: [Raw text]

Re: [C++ PATCH] Fix bug 5116




--On Monday, December 31, 2001 04:37:00 PM +0000 Nathan Sidwell 
<nathan@codesourcery.com> wrote:

> Hi,
> this fixes bug 5116 where we failed to find a friend operator. I believe
> that, if the operands to an operator have templated class type, they
> should be instantiated at that point, because their instantiation can
> affect the meaning of the program.
>
> built & tested on i686-pc-linux-gnu, ok?

Yes.

Is there anything special about calling operator functions, or
should this be done for all functions?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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