This is the mail archive of the gcc-bugs@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: c++/3979: An update to problem #3971


Synopsis: An update to problem #3971

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Aug 10 07:20:00 2001
State-Changed-Why:
    Not a bug.  The only possible match (using template
    argument deduction rule) is:
      template< class T> 
      inline A<T> operator *(const A<T> &a, const A<T> &b);
    and the conversion from B<T> to A<T> fails.  The function
     template< class T>
     inline B<T> operator *(const B<T> &a, const B<T> &b);
    is not considered (See section 14.8.2.1 para 3 in the
    standard).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3979&database=gcc


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