------- Additional Comments From maxim dot yegorushkin at gmail dot com 2005-05-18 08:17 ------- (In reply to comment #1) > All gcc versions I have take the template in namespace odd, and so does > icc in strict mode. I see nothing in 3.4.2 that should prevent this > from happening. What is relevant here is that the using declaration inside > the function introduces a name into the innermost namespace, thus preventing > name lookup from even looking outside the function. If you don't want to > have this happening, then you need to put the using declaration into the > same scope as the declaration of the other function 'f'.
Thank you for your illuminating answer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21615