I apologize for the long post, I tried my best to remove as much code while providing what I think is relevant. I am using URotateObject in another C++ componen
I read about std::is_pointer in C++. Then I wrote the program and check whether T is a pointer type or not using std::is_pointer. #include <iostream> i