Can decltype
be used with virtual member function pointers?
Then an internal error is generated (C1001) with VS2012.
struct C { virtual void Foo() {} typedef decltype(&C::Foo) type;
But this compiles fine:
struct C { virtual void Foo() {} typedef decltype(C::Foo) type;
This is mistake?
source share