[Bug c++/36151] gcc fails to find template specializations within namespace

2008-05-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-05-14 10:42 --- (In reply to comment #2) > 1.) I've been unable to find an explanation of this behaviour in ISO/IEC 14882 > or other literature like Stroustrup - The C++ Programming Language. See [temp.dep.res] which is 14.6.4 in C

[Bug c++/36151] gcc fails to find template specializations within namespace

2008-05-14 Thread juergen dot wallner at philips dot com
--- Comment #2 from juergen dot wallner at philips dot com 2008-05-14 09:23 --- 1.) I've been unable to find an explanation of this behaviour in ISO/IEC 14882 or other literature like Stroustrup - The C++ Programming Language. Please explain and cite reference: How can a unique name fr

[Bug c++/36151] gcc fails to find template specializations within namespace

2008-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-06 15:44 --- This is correct behavior. template void bar( T& v ) { v.foo(); } template void bar( B& x ) { bar( *x ); } template void bar( A& x ) { bar( *x ); } Since A i