Effective C++: Minimize casting

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++.

17 Comments

  1. 2005-07-18 8:02 am
    • 2005-07-18 9:21 am
    • 2005-07-18 12:38 pm
  2. 2005-07-18 9:25 am
  3. 2005-07-18 9:38 am
    • 2005-07-19 5:31 am
  4. 2005-07-18 3:37 pm
  5. 2005-07-18 4:51 pm
    • 2005-07-18 7:47 pm
      • 2005-07-18 7:48 pm
  6. 2005-07-18 6:59 pm
  7. 2005-07-18 7:15 pm
  8. 2005-07-18 7:16 pm
  9. 2005-07-18 11:32 pm
    • 2005-07-19 1:56 am
  10. 2005-07-19 10:57 am
  11. 2005-07-19 6:58 pm