[Bug c++/17122] Unable to compile friend operator within template

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 20 15:53:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-20 15:53 -------
Note that this works though:
friend void ::operator+<>(int, foo);

I think this is correct as Comeau C++ also rejects the code and accepts the above.

-- 


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



More information about the Gcc-bugs mailing list