*CAI: careful with static_cast's