PrevUpHomeNext

utx::meric_static_cast


utx::meric_static_cast

utx::meric_static_cast is used to convert values between different integral, floating point, or character types. utx::meric_static_cast is the static_cast for utx::real_meric types.

utx::meric_static_cast:

template <utx::real_meric target_type>
constexpr inline auto meric_static_cast = utx::meric_static_cast_class<target_type>{};

Calling Sig:

#include <utxcpp/types.hpp>

constexpr auto value2 = utx::meric_static_cast<target_type>(value__);

Requirements

The following types are valid source and target types:

utx::meric_static_cast can be used to convert:

See Also

utx::gnrk_static_cast

utx::meric_static_convertible

utx::real_meric

utx::ix32

utx::ux32

utx::fx32

utx::fx64


PrevUpHomeNext

utx::print

esv::print