https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888
--- Comment #3 from Jason Liam ---
Reduced program to show the intent more clearly:
```
#include
struct C{
int f(this int);
};
decltype(C::f) func; //msvc accepts but clang and gcc rejects
int func(int j)
{
std::cout << "called with:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888
--- Comment #2 from Jason Liam ---
(In reply to Andrew Pinski from comment #1)
> https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2688
This is not CWG2688. Note that in the given example here, gcc and clang
rejects `decltype(C::f)`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill