Why I can\'t cast a pointer to derived class to reference to pointer to base class?
struct Base { }; struct Derived : Base { }; int main() { Derived* de
For your Error only change this
static_cast(derived); to static_cast(derived); ^^
See here http://ideone.com/1QuMLK