------- Comment #3 from pinskia at gcc dot gnu dot org  2009-12-04 22:34 -------
(In reply to comment #2)
> I have tried to simplify the code, but I have created only problem with int
> (not with user structure). In real code we have also something like this:

Your original code is invalid code as Koenig lookup is not able to find the
function for std::map<Key,Value1> as the associated namespace is only std and
not the global namespace.


-- 


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

Reply via email to