PrevUpHomeNext

utx::ux32


utx::ux32 - utx::u32

utx::ux32 is the unsigned 32-bit integral type that can be used as basic unsigned int; it is class type: utx::class_type, which has overloaded almost every operations of the basic integral types; if not, it will be added in the future.

utx::ux32 - utx::u32, the class type of utx::u32.

Except the basic integral operations, utx::ux32 has some advanced class features, such as some member functions, and some features that are not possible for basic integral types.

c++ example

#include <utxcpp/core.hpp>

int main()
{
	constexpr utx::ux32 rgba  = 0x123456ff;
	constexpr utx::ux32 rgb = (rgba >> 8);
	static_assert(rgb = 0x00123456);
}

PrevUpHomeNext

utx::print

esv::print