xte ::wrap_value <x >::operator<=> ()
Defined in header <xte/meta/wrap_value.hpp> Allows comparing
x .Definitions
#0[[nodiscard ]]friend constexpr auto operator<=> (xte ::wrap_value <x >,auto&& rhs )XTE_ARROW (x <=>XTE_FWD (rhs ) )
#1
[[nodiscard ]]friend constexpr auto operator== (xte ::wrap_value <x >,auto&& rhs )XTE_ARROW (x ==XTE_FWD (rhs ) )
Example
[View in Compiler Explorer]constexpr int x =xte ::wrap_value <0 >();static_assert (x ==0 );