I am trying to get the return type of a function with const/non const overloads.
struct TestClass { const int* getPtr() const { return ptr; } int* getPtr(