------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-11 20:07 -------
And this is the correct behavior as described by the C++ standard.
I have to find the specific section but basically the overloaded set for
depedent functions happen like the following:
1) find all functions declared already during definition time (and not
instantiation time)
2) Later during instantiation look at the inner most namespace of the arguments
for the overloaded function

Since fundumental types don't have an associated namespace to it, Part 2 does
not apply.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to