Hacker News new | past | comments | ask | show | jobs | submit login

static_cast is used mainly to "reuse" existing code base



I use it mostly to switch between numerical types like double, float, int, uint32_t, char, size_t.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: