O'Reilly logo
  • Ben Medina thinks this is interesting:

pointer-to-base to pointer-to-derived


Cover of Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition


Only if absolutely sure that the downcast is correct. This is a hard guarantee to fulfill in a long-lived codebase, so use judiciously.