Wraps an expression with 'static_cast'.