Item 27: Minimize casting
Page 1 of 1
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++.
This chapter is from the book
View this Item in PDF format.
Page 1 of 1