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