0
Q:

how to static_cast

struct B { };
struct D : B { };
D d;
B& br = d;
static_cast<D&>(br); // lvalue denoting the original d object
1

New to Communities?

Join the community