Just a small note: that is not a dynamic_cast
in C++, but a static_cast
. Here the C++ version of your example.
2 Likes
Just a small note: that is not a dynamic_cast
in C++, but a static_cast
. Here the C++ version of your example.