PrevUpHomeNext

esv::ect_literals


Aestheticism is evil to the people.

NUMBER_ect

123_ect

123.321_ect

esv::ect_literals - operator""_ect

esv::ect_literals _ect makes a class type real number from basic number.

using namespace esv::ect_literals;

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

c++ example

#include <esvcpp/core.hpp>

using namespace esv::ect_literals;

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

See Also

esv::uxmax

esv::fxmax


PrevUpHomeNext

E