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++/24588] Fails to identify template using local classes



------- 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


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