------- Comment #3 from opichals at seznam dot cz  2007-06-30 15:05 -------
I am not sure about the standard wording. But logically typedefs local
to a .cpp file should stay local to that file. They in fact are. However
the template instances are not.

If it should not be that way then the compiler should complain about such
conflicts in some way not to get the two confused at runtime. Especially in
huge application merges this is very critical.

note: I am sorry, will be out of reach for the next few weeks to discuss in
detail. I would appreciate any pointers or more detailed explanations you could
provide.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32549

Reply via email to