Why use static_cast<T>(x) instead of (T)x or T(x)?
12:39 19 Sep 2008

I've heard that the static_cast function should be preferred to C-style or simple function-style casting. Is this true? Why?

c++ casting static-cast