This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33518] invalid Koenig lookup/incorrect SFINAE
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Feb 2011 11:06:35 +0000
- Subject: [Bug c++/33518] invalid Koenig lookup/incorrect SFINAE
- Auto-submitted: auto-generated
- References: <bug-33518-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33518
--- Comment #9 from Marc Glisse <marc.glisse at normalesup dot org> 2011-02-25 11:05:58 UTC ---
(In reply to comment #8)
> Ideally, we should figure in which release has been fixed. Do you think the
> small testcase in Comment #3 summarizes well the issue? Apparently works with
> 4.5.x too.
Honestly, I don't even know the rules about which namespace to consider in
overload resolution well enough to determine which behavior is correct. I
reported it years ago because of the inconsistency caused by unrelated code.
Then I tested today (the original test, not the short one from the comments)
and couldn't reproduce (and the result seemed to agree with EDG and Oracle).
Maybe I should have left it to someone more knowledgeable to close it...