Need reinterpret cast to perform pointer conversion from unrelated classes
class X {}; class Y {}; int main(int argc, char** argv) { int i = 3; X x; Y y; X* xp; Y* yp; xp = reinterpret_cast<X*>(yp); return (0); }