xte ::array <T >::erase ()
Defined in header <xte/data/array.hpp> Definition
Starting at the given index, destroys the given number of elements, in order.constexpr void erase (xte ::uz index ,xte ::uz count =1 )& noexcept ;
Example
Output:xte ::array array = {1 ,2 ,3 };array .erase (1 );std ::println ("{}" ,array );
[View in Compiler Explorer][1, 3]