Monday, 26 August 2013

Is static_cast(...) compile-time or run-time?

Is static_cast(...) compile-time or run-time?

Is static_cast<T>(...) something that gets done at compile-time or
run-time? I've googled around but I got different answers.
Also, dynamic_cast<T>(...) is obviously runtime - but what about
reinterpret_cast<T>(...)?

No comments:

Post a Comment