xte::prvalue()

Defined in header <xte/math/prvalue.hpp>

Casts to prvalue.


Definition

inline constexpr auto prvalue = XTE_LIFT_UNARY(auto);



Example

int x;
static_assert(^^int == ^^decltype(xte::prvalue(x)));
[View in Compiler Explorer]