Casts the provided value to the target type using static_cast.
- Note
- Even when passed in a field_capture as the conversion type, this function does not rename the input parameter.
- Template Parameters
-
| U | The type to convert the parameter to. |
- Parameters
-
| t | A forwarding reference to the input object. |
- Returns
- A value of type U.