xte ::array <T >::operator<=> ()
Defined in header <xte/data/array.hpp> Definitions
#three-wayCompares elements lexicographically.[[nodiscard ]]friend constexpr auto operator<=> (const xte ::array <T >& lhs ,const xte ::array <T >& rhs )XTE_ARROW (xte ::range_cmp (lhs ,rhs ) )
#equal
Short-circuits if the arrays' sizes are different, otherwise delegates to[[nodiscard ]]friend constexpr auto operator== (const xte ::array <T >& lhs ,const xte ::array <T >& rhs )XTE_ARROW (/* See below */ )
operator<=> ().Example
[View in Compiler Explorer]static_assert (xte ::array {1 ,2 ,3 } <xte ::array {1 ,2 ,4 });