Closed cgcostume closed 6 years ago
This code won't work without reinterpret cast (static_cast is prohibited by C++ and dynamic_cast is too costly there as we already checked the type using virtual member function calls). Closing for now.
static_cast
dynamic_cast
This code won't work without reinterpret cast (
static_cast
is prohibited by C++ anddynamic_cast
is too costly there as we already checked the type using virtual member function calls). Closing for now.