PrevUpHomeNext

esv::pair


If life is a dream, when you wake up, you life is close the end and you have forgot your dream.

esv::pair

esv::pair is a class to hold two values. It is designed for esv::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 <esvcpp/core.hpp>

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

See Also

.floor_fpp method

.quo_mod method


PrevUpHomeNext

esv::print