I’m no expert when it comes to C++ (far from it), so maybe I’m missing something here, but from what I’ve seen, the general consensus is that use of const_cast is undesirable and generally only acceptable when working with outdated APIs.
I noticed the engine uses const_cast around 3300 times. Can anyone explain to me why that might be?