[Bug c++/36982] Unfolding of template function (in namesspace) using overloads (in same namespace) requires forward declarations

2009-04-02 Thread lfn dot privat at mail dot dk
--- Comment #2 from lfn dot privat at mail dot dk 2009-04-02 15:54 --- (In reply to comment #1) This is correct behavior as MyType is not in the namespace so Read is not found after the call. If you want Read to be found, you can put it in the same namespace as MyType. I'm not

[Bug c++/36982] Unfolding of template function (in namesspace) using overloads (in same namespace) requires forward declarations

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:21 --- This is correct behavior as MyType is not in the namespace so Read is not found after the call. If you want Read to be found, you can put it in the same namespace as MyType. -- pinskia at gcc dot gnu dot org