Castings

Nailing down this thing for good

static_cast

  • Any type <--> void*

const_cast

  • Add/remove constness

dynamic_cast

reinterpret_cast

Last updated

Was this helpful?