I'm trying to build a pointer class with conversion safeguards in it to monitor pointer conversions. Specifically, I want it to do a dynamic_cast inside of an assert and make sure the result is not a nullptr. Unfortunately, if the pointer does not point to a class type, it gives a compile-time error indicating that dynamic_cast cannot be used.I'm trying to build a pointer class with conver