xte ::xvalue ()
Defined in header <xte/math/xvalue.hpp> Casts to xvalue.
Definition
inline constexpr auto xvalue = [][[nodiscard ]](auto&& x )static noexcept ->auto&& {/* ... */ };
Example
[View in Compiler Explorer]int x ;static_assert (^^int&& == ^^decltype (xte ::xvalue (x )));