I come across a lot of dyn_cast in a codebase I am working on.
Is it the same thing as dynamic_cast ? or something different ? I searched a bit but couldn't find much info..
dyn_cast
is part of the LLVM API (and also is the first, second, third, etc.. hit on google) works just like dynamic_cast, however, one difference is that the class doesn't require a v-table like dynamic_cast. Please see the manual for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With