cpp/memory/unique ptr/operator at

provides access to elements of an array managed by a.

The parameter shall be less than the number of elements in the array; otherwise, the behavior is undefined.

This member function is only provided for specializations for array types.

Return value
Returns the element at index, i.e..