PrevUpHomeNext

utx::remove_cvref_t


utx::remove_cvref_t

utx::remove_cvref_t is used to remove const, volatile, or reference qualifiers from a type at compile-time.

c++ example

#include <utxcpp/core.hpp>

int main()
{
	using t1 = const utx::fx64 &;
	using t2 = utx::remove_cvref_t<t1>;
	static_assert(utx::same_as<t2, utx::fx64>);
}

See Also

utx::fx64

utx::same_as

utx::same_assert


PrevUpHomeNext

utx::print

esv::print