[Bug c++/42026] g++ violate [basic.lookup.argdep]

2009-11-13 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2009-11-13 10:24 --- Ah yes, this is DR 239 http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#239 -- redi at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/42026] g++ violate [basic.lookup.argdep]

2009-11-13 Thread pi3orama at gmail dot com
--- Comment #2 from pi3orama at gmail dot com 2009-11-13 10:10 --- This is an example in C++ language standard. The version is N2960. It said (at page 47, [basic.lookup.argdep]/3): Let X be the lookup set produced by unqualified lookup (3.4.1) and let Y be the lookup set produced by arg

[Bug c++/42026] g++ violate [basic.lookup.argdep]

2009-11-13 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-11-13 10:03 --- Can you be more specific? Ordinary unqualified lookup finds ::g and lookup in the associated namespace finds NS::g, the latter is a better match for the arguments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42