There is no such equivalent thing in C++, but here are some approaches that can solve the problem:
C-style void pointers
Anything can be assigned to a void pointer from the new operator as new. It always returns a void pointer but results in a loss of type information about the object pointed at.
My way: Function overloading
OTHER WAYS?