5,321
edits
Line 108: | Line 108: | ||
* <code>static_cast</code> | * <code>static_cast</code> | ||
* <code>dynamic_cast</code> | * <code>dynamic_cast</code> | ||
If you're casting between things you know are compatible, you can also use <code>reinterpret_cast</code>. | |||
==Programming Styles== | ==Programming Styles== |