[Bug c++/53788] C++11 decltype sfinae static member function check (4.7.1)

2012-06-28 Thread exa7z at live dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53788 --- Comment #5 from exa7z at live dot com 2012-06-28 17:42:48 UTC --- > > Therefore, SFINAE cannot even take place because of that, T is the anchor > keeping the ship from sailing *when* a compiler does *not* make a distinction

[Bug c++/53788] C++11 decltype sfinae static member function check (4.7.1)

2012-06-28 Thread exa7z at live dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53788 --- Comment #4 from exa7z at live dot com 2012-06-28 17:37:08 UTC --- You are correct in noting that even in C++03 g++ behaves like this. I also tried several other examples yesterday that led me to the same result. And I think it is because of

[Bug c++/53788] New: C++11 decltype sfinae static member function check (4.7.1)

2012-06-27 Thread exa7z at live dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53788 Bug #: 53788 Summary: C++11 decltype sfinae static member function check (4.7.1) Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED