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
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
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