rtti

C++ Tricks: Fast RTTI and Dynamic Cast

C++ Tricks: Fast RTTI and Dynamic Cast

C++ Tricks is a series of posts on core libraries for game engines and language experiments shared as the Kahncode Core Libraries.

As introduced in the first post of these series, I will share the first piece of KCL: an implementation of RTTI and Dynamic Cast. The code can be found on GitHub.

If you don’t know what dynamic casting is, then I suggest you read some online resources before diving into this article.

Continue reading →

Posted by Samuel Kahn in C++, KCL, 2 comments