ANSI typecasts, Safer Typecasting using ANSI C++ typecasts