This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24588] Fails to identify template using local classes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2005 20:59:26 -0000
- Subject: [Bug c++/24588] Fails to identify template using local classes
- References: <bug-24588-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-30 20:59 -------
I don't think this is a bug. What is happening is that compiler cannot figure
out that you want sort<int> as there are no agruments to sort which is based on
the template agrument (except for ones which are dependent on the type).
ICC rejects this code also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24588