to_integral
Summary: A utility function for modeling explicit floating-point-to-integral conversions but without requiring the destination type to be spelled if it can be inferred from context. Useful when it is important to highlight one abstract category of a conversion, that it is a floating-point-to-integral conversion, and when highlighting the concrete types involved tends to hide the category. Like `to_narrow`, which models explicit integral same-sign narrowing conversions. Differential Revision: D33992808 fbshipit-source-id: 5010d84eb6382087250a815d223ab42adfa26ca7
Showing
Please register or sign in to comment