xte ::array <T >::front ()
Defined in header <xte/data/array.hpp> Definition
Accesses an element at the given index, copying qualifiers from[[nodiscard ]]constexpr auto&& front (this auto&& self ,xte ::uz index =0 )noexcept ;
self .Example
Output:xte ::array array = {1 ,2 ,3 };std ::println ("{}" ,array .front ());
[View in Compiler Explorer]1