--- Comment #5 from jim_king_2000 at 163 dot com 2009-03-13 12:41 ---
Thank you very much.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39452
--- Comment #4 from paolo dot carlini at oracle dot com 2009-03-13 11:48
---
3.5/8. The next Standard will be different, see:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39452
--- Comment #3 from jim_king_2000 at 163 dot com 2009-03-13 10:59 ---
And I'm still wondering which line in the C++ spec disallows the usage of local
class within the template function. Would you please figure it out?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39452
--- Comment #2 from jim_king_2000 at 163 dot com 2009-03-13 10:45 ---
So, is it possible that the error message could be made more meaningful? I
spent several hours to find out what the "no matching function for call to"
refers to. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi
--- Comment #1 from paolo dot carlini at oracle dot com 2009-03-13 09:54
---
This behaviour is conforming to the letter of the current C++ standard, which
is implemented by GCC. Not a bug.
--
paolo dot carlini at oracle dot com changed:
What|Removed