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++/26605] using + templates troubles



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-08 14:07 -------
(In reply to comment #2)
> Likely a duplicate of c++/21682, but simpler testcase ;)

I don't know how that and comment #1 are valid code as in both cases the
arguments will be the same so you should get an error about ambiguous
functions.

Now the one in comment #0 is slightly different as the enable if causes a
specific function to be selected.


-- 


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


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