The rules of C++ are designed to guarantee that type errors are impossible. Casting, however, subverts the type system and can lead to pesky errors in compiled code. This chapter explains why it’s a good idea to forgo casting as much as possible in C++.
Link: informit.com
Category:
- C/C++