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

[Bug c++/12962] g++ fails to match template function


------- Additional Comments From smelkov at mph1 dot phys dot spbu dot ru  2003-11-09 09:55 -------
OK, 
Then is it at least possible to be more correct with error reporting? i.e. something like this 
 
error: no matching function for call to `B::xxx(X<B>)' or `B::xxx(const X<B>&)' 
instead of 
error: no matching function for call to `B::xxx(X<B>)' 
 
since it searches for xxx with const reference. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12962


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