|
Sen API
Sen Libraries
|
Functions | |
| template<typename ToType, typename FromType, typename ReportPolicy = ReportPolicyIgnore> | |
| ToType | conversionImpl (FromType from) |
Safely convert between two different integral types. If the value stored in from cannot be represented in ToType, the value is truncated. | |
| ToType sen::std_util::impl::conversionImpl | ( | FromType | from | ) |
Safely convert between two different integral types. If the value stored in from cannot be represented in ToType, the value is truncated.
| ToType | output type |
| FromType | input type |
| ReportPolicy | policy type that specifies how truncation should be reported |
| [in] | from | value that should be converted to ToType |