0

I don’t know whether to use the STL casting options (static_cast, reinterpret_cast, dynamic_cast), or just simply use old-fashioned C style casting. I’ve read and watched many things about this, and most of ‘em say that C++ style casting is mostly syntax-sugar.

Is it really necessary to use C++ style casting, does it offer better performance or safety? Or is it less of a hassle to use standard C casting?

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
SIGAAM
  • 1

0 Answers0