utx::class_type::cast
Method .cast of utx::class_type is used to convert current object value to another arithmetic basic type or arithmetic utx::class_type .
#include <utxcpp/core.hpp> int main() { constexpr utx::ix32 a = 329; constexpr auto b = a.cast<utx::fx64>(); constexpr auto c = a.cast<utx::f32>(); utx::print(a, b, c); }