[Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
neroden at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 12 04:33:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=641
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-24 22:25:06 |2003-07-12 04:33:00
date| |
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-12 04:33 -------
There is still a warning. This is the warning, since nobody mentioned it:
test.cxx: In instantiation of `item<const A>':
test.cxx:9: instantiated from here
test.cxx:2: warning: `iterator<const A>' is already a friend of `item<const A>'
More information about the Gcc-bugs
mailing list