PrevUpHomeNext

utx::pair


utx::pair

utx::pair is a class to hold two values. It is designed for utx::class_type .floor_fpp and .quo_mod member functions to get a two-value returning result. However it can be used for many other cases too.

c++ example

#include <utxcpp/core.hpp>

int main()
{
	utx::pair<utx::fx64, utx::ix32> pair{2.5, 25};
	utx::print(pair.first, pair.second);
}

See Also

.floor_fpp method

.quo_mod method


PrevUpHomeNext

E

U