Can not static_cast<> instead?