ReportedBy: e28773 at bsnow dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497
--- Comment #2 from e28773 at bsnow dot net 2009-06-20 12:30 ---
Created an attachment (id=18029)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18029&action=view)
test-case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497
--- Comment #3 from e28773 at bsnow dot net 2009-06-20 12:31 ---
Created an attachment (id=18030)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18030&action=view)
testcase - ii
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497
--- Comment #4 from e28773 at bsnow dot net 2009-06-20 12:32 ---
(From update of attachment 18029)
namespace X
{
class C
{
};
templatevoid next(T)
{
}
}
using namespace X;
#include
using namespace std;
int main()
{
C c
--- Comment #5 from e28773 at bsnow dot net 2009-06-20 12:33 ---
here we go ;)
I forgot a ';' in line 5 of the main.cpp-file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497
--- Comment #11 from e28773 at bsnow dot net 2009-06-20 23:21 ---
(In reply to comment #10)
> Fixed for 4.4.1.
>
After all, this is still a bug of ADL/SFINAE? Even if the declaration of
next/prev does not match with the one proposed in the current draft, the right
function (that