Hi, i'm new to c++ and having a little problem understanding about c++'s casting.
According to "C++ Primer", the old style cast is like: int(variable) or (int) variable, and new ones introduced by c++ standard includes static_cast<>, const_cast<>, reinterpret_cast<> and dynamic_cast<>.
Is the static_cast<> equivalent to "old style cast" ?
I think that isn't it if I consider basic data types (int, double...) as a class, then it would be convinient to use just int(object) to do the casting ? Does the standard c++ implement basic types as a class?