struct C { int Foo(int i) { return i; } typedef decltype(C::Foo) type; };
Since there is no such type as a member function type (there isn
So what type is decltype(C::Foo)?
decltype(C::Foo)
It's no type, since using just C::Foo is ill-formed.
C::Foo