xte ::fixed_array <T , n >::operator+ ()
Defined in header <xte/data/fixed_array.hpp> Definition
template <typename Rhs >requires (xte ::is_derived_from_instance_of <xte ::remove_cvref <Rhs >, ^^xte ::fixed_array > &&xte ::is_same <T ,typename Rhs ::value_type >) [[nodiscard ]]constexpr auto operator+ (this auto&& lhs ,Rhs && rhs )XTE_ARROW (/* ... */ )
Example
Output:std ::println ("{}" ,xte ::fixed_array {1 ,2 } +xte ::fixed_array {3 ,4 });
[View in Compiler Explorer][1, 2, 3, 4]