xte ::array <T >::push_range ()
Defined in header <xte/data/array.hpp> Definition
Appends elements from the given range to the back of the array.template <typename Range =xte ::array <T >>constexpr auto push_range (Range && range )& XTE_ARROW (this ->insert_range (-1uz ,XTE_FWD (range ) )
Example
Output:xte ::array array = {1 ,2 ,3 };array .push_range ({4 ,5 ,6 });std ::println ("{}" ,array );
[View in Compiler Explorer][1, 2, 3, 4, 5, 6]