More casting experiments with dynamic_cast and static_cast.