PrevUpHomeNext

utx::uct_literals


NUMBER_uct

123_uct

123.321_uct

utx::uct_literals - operator""_uct

utx::uct_literals _uct makes a class type real number from basic number.

using namespace utx::uct_literals;

constexpr auto a = 123_uct;
constexpr auto b = 123.321_uct;

c++ example

#include <utxcpp/core.hpp>

using namespace utx::uct_literals;

int main()
{
	constexpr auto a = 123_uct;
	constexpr auto b = 123.321_uct;
	utx::print(a, b); // 123 123.321
}

See Also

utx::uxmax

utx::fxmax


PrevUpHomeNext

utx::print