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

2009-04-03 Thread lfn dot privat at mail dot dk
--- Comment #4 from lfn dot privat at mail dot dk 2009-04-03 09:41 --- Thanks for clarifying how the compiler works. Actually this was the kind of answer detail level I was looking for in the first place to find some kind of work around to the problem. Now, I assume that your answer

[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

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

2008-07-31 Thread lfn dot privat at mail dot dk
declarations Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lfn dot privat at mail dot dk GCC