2 ms·static_cast is used mainly to "reuse" existing code baseby known 11y agostatic_cast is used mainly to "reuse" existing code baseant6n 11y agoI use it mostly to switch between numerical types like double, float, int, uint32_t, char, size_t.